Lines Matching refs:cpu_hw_events
229 struct cpu_hw_events { struct
753 int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign);
772 (*get_event_constraints)(struct cpu_hw_events *cpuc,
776 void (*put_event_constraints)(struct cpu_hw_events *cpuc,
779 void (*start_scheduling)(struct cpu_hw_events *cpuc);
781 void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr);
783 void (*stop_scheduling)(struct cpu_hw_events *cpuc);
882 void (*lbr_read)(struct cpu_hw_events *cpuc);
1065 DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
1142 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in __x86_pmu_enable_event()
1161 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
1167 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in x86_pmu_disable_event()
1331 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_brs_add()
1343 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_brs_del()
1461 x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
1464 extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu);
1465 extern void intel_cpuc_finish(struct cpu_hw_events *cpuc);
1567 void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc);
1569 void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc);
1647 static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) in intel_cpuc_prepare()
1652 static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) in intel_cpuc_finish()