Lines Matching refs:cpu_hw_events
231 struct cpu_hw_events { struct
757 int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign);
776 (*get_event_constraints)(struct cpu_hw_events *cpuc,
780 void (*put_event_constraints)(struct cpu_hw_events *cpuc,
783 void (*start_scheduling)(struct cpu_hw_events *cpuc);
785 void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr);
787 void (*stop_scheduling)(struct cpu_hw_events *cpuc);
886 void (*lbr_read)(struct cpu_hw_events *cpuc);
1070 DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
1147 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in __x86_pmu_enable_event()
1166 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
1172 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in x86_pmu_disable_event()
1333 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_brs_add()
1345 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_brs_del()
1463 x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
1466 extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu);
1467 extern void intel_cpuc_finish(struct cpu_hw_events *cpuc);
1571 void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc);
1573 void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc);
1653 static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) in intel_cpuc_prepare()
1658 static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) in intel_cpuc_finish()