Lines Matching refs:cpu_hw_events
224 struct cpu_hw_events { struct
646 int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign);
665 (*get_event_constraints)(struct cpu_hw_events *cpuc,
669 void (*put_event_constraints)(struct cpu_hw_events *cpuc,
672 void (*start_scheduling)(struct cpu_hw_events *cpuc);
674 void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr);
676 void (*stop_scheduling)(struct cpu_hw_events *cpuc);
767 void (*lbr_read)(struct cpu_hw_events *cpuc);
917 DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
985 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in __x86_pmu_enable_event()
1004 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
1107 x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
1110 extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu);
1111 extern void intel_cpuc_finish(struct cpu_hw_events *cpuc);
1205 void intel_pmu_lbr_read_32(struct cpu_hw_events *cpuc);
1207 void intel_pmu_lbr_read_64(struct cpu_hw_events *cpuc);
1275 static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) in intel_cpuc_prepare()
1280 static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) in intel_cpuc_finish()