Home
last modified time | relevance | path

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

/drivers/perf/
Darm_pmu.c217 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_del() local
222 hw_events->events[idx] = NULL; in armpmu_del()
223 clear_bit(idx, hw_events->used_mask); in armpmu_del()
225 armpmu->clear_event_idx(hw_events, event); in armpmu_del()
234 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_add() local
246 idx = armpmu->get_event_idx(hw_events, event); in armpmu_add()
258 hw_events->events[idx] = event; in armpmu_add()
273 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() argument
296 return armpmu->get_event_idx(hw_events, event) >= 0; in validate_event()
509 struct pmu_hw_events *hw_events = this_cpu_ptr(armpmu->hw_events); in armpmu_enable() local
[all …]
/drivers/bus/
Darm-cci.c142 struct cci_pmu_hw_events hw_events; member
810 struct cci_pmu_hw_events *events = &cci_pmu->hw_events; in pmu_handle_irq()
875 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_enable() local
876 int enabled = bitmap_weight(hw_events->used_mask, cci_pmu->num_cntrs); in cci_pmu_enable()
883 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_enable()
888 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_enable()
895 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_disable() local
899 raw_spin_lock_irqsave(&hw_events->pmu_lock, flags); in cci_pmu_disable()
904 raw_spin_unlock_irqrestore(&hw_events->pmu_lock, flags); in cci_pmu_disable()
920 struct cci_pmu_hw_events *hw_events = &cci_pmu->hw_events; in cci_pmu_start() local
[all …]