Searched refs:hw_events (Results 1 – 2 of 2) sorted by relevance
41 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() local275 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() local293 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() argument336 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 …]
113 int (*get_event_idx)(struct pmu_hw_events *hw_events,