Lines Matching refs:cpuc
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);
1166 int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign);
1333 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_brs_add() local
1336 cpuc->lbr_users++; in amd_pmu_brs_add()
1345 struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events); in amd_pmu_brs_del() local
1347 cpuc->lbr_users--; in amd_pmu_brs_del()
1348 WARN_ON_ONCE(cpuc->lbr_users < 0); 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() argument
1658 static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) in intel_cpuc_finish() argument