Lines Matching refs:cpu_hw_events
186 struct cpu_hw_events { struct
580 int (*schedule_events)(struct cpu_hw_events *cpuc, int n, int *assign);
599 (*get_event_constraints)(struct cpu_hw_events *cpuc,
603 void (*put_event_constraints)(struct cpu_hw_events *cpuc,
606 void (*start_scheduling)(struct cpu_hw_events *cpuc);
608 void (*commit_scheduling)(struct cpu_hw_events *cpuc, int idx, int cntr);
610 void (*stop_scheduling)(struct cpu_hw_events *cpuc);
773 DECLARE_PER_CPU(struct cpu_hw_events, cpu_hw_events);
836 u64 disable_mask = __this_cpu_read(cpu_hw_events.perf_ctr_virt_mask); in __x86_pmu_enable_event()
847 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
947 x86_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
950 extern int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu);
951 extern void intel_cpuc_finish(struct cpu_hw_events *cpuc);
1091 static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) in intel_cpuc_prepare()
1096 static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) in intel_cpuc_finish()