Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dperf_event.c41 static DEFINE_PER_CPU(struct perf_event * [ARMPMU_MAX_HWEVENTS], hw_events);
268 struct pmu_hw_events *hw_events = armpmu->get_hw_events(); in armpmu_del() local
275 hw_events->events[idx] = NULL; in armpmu_del()
276 clear_bit(idx, hw_events->used_mask); in armpmu_del()
285 struct pmu_hw_events *hw_events = armpmu->get_hw_events(); in armpmu_add() local
293 idx = armpmu->get_event_idx(hw_events, hwc); in armpmu_add()
305 hw_events->events[idx] = event; in armpmu_add()
320 validate_event(struct pmu_hw_events *hw_events, in validate_event() argument
336 return armpmu->get_event_idx(hw_events, &fake_event) >= 0; in validate_event()
585 struct pmu_hw_events *hw_events = armpmu->get_hw_events(); in armpmu_enable() local
[all …]
/arch/arm/include/asm/
Dpmu.h113 int (*get_event_idx)(struct pmu_hw_events *hw_events,