Searched refs:arc_pmu (Results 1 – 1 of 1) sorted by relevance
22 struct arc_pmu { struct81 static struct arc_pmu *arc_pmu; variable158 hwc->sample_period = arc_pmu->max_period; in arc_pmu_event_init()179 if (arc_pmu->ev_hw_idx[event->attr.config] < 0) in arc_pmu_event_init()181 hwc->config |= arc_pmu->ev_hw_idx[event->attr.config]; in arc_pmu_event_init()191 hwc->config |= arc_pmu->ev_hw_idx[ret]; in arc_pmu_event_init()237 if (left > arc_pmu->max_period) in arc_pmu_event_set_period()238 left = arc_pmu->max_period; in arc_pmu_event_set_period()240 value = arc_pmu->max_period - left; in arc_pmu_event_set_period()339 arc_pmu->n_counters); in arc_pmu_add()[all …]