Lines Matching refs:cpu_hw_events
226 struct cpu_hw_events { struct
733 int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign);
752 (*get_event_constraints)(struct cpu_hw_events *cpuc,
756 void (*put_event_constraints)(struct cpu_hw_events *cpuc,
759 void (*start_scheduling)(struct cpu_hw_events *cpuc);
761 void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr);
763 void (*stop_scheduling)(struct cpu_hw_events *cpuc);
855 void (*lbr_read)(struct cpu_hw_events *cpuc);
1037 DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
1108 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in __x86_pmu_enable_event()
1127 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
1133 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in x86_pmu_disable_event()
1246 x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
1249 extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu);
1250 extern void intel_cpuc_finish(struct cpu_hw_events *cpuc);
1350 void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc);
1352 void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc);
1424 static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) in intel_cpuc_prepare()
1429 static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) in intel_cpuc_finish()