Home
last modified time | relevance | path

Searched refs:arc_pmu (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arc/kernel/
H A Dperf_event.c192 struct arc_pmu { struct
258 static struct arc_pmu *arc_pmu; variable
335 hwc->sample_period = arc_pmu->max_period; in arc_pmu_event_init()
356 if (arc_pmu->ev_hw_idx[event->attr.config] < 0) in arc_pmu_event_init()
358 hwc->config |= arc_pmu->ev_hw_idx[event->attr.config]; in arc_pmu_event_init()
368 hwc->config |= arc_pmu->ev_hw_idx[ret]; in arc_pmu_event_init()
374 if (event->attr.config >= arc_pmu->n_events) in arc_pmu_event_init()
380 arc_pmu->raw_entry[event->attr.config].name); in arc_pmu_event_init()
428 if (left > arc_pmu->max_period) in arc_pmu_event_set_period()
429 left = arc_pmu->max_period; in arc_pmu_event_set_period()
[all …]