Lines Matching refs:pmu
15 #include "../../../util/pmu.h"
21 void perf_pmu__arch_init(struct perf_pmu *pmu __maybe_unused)
24 if (!strcmp(pmu->name, INTEL_PT_PMU_NAME)) {
25 pmu->auxtrace = true;
26 pmu->selectable = true;
27 pmu->perf_event_attr_init_default = intel_pt_pmu_default_config;
29 if (!strcmp(pmu->name, INTEL_BTS_PMU_NAME)) {
30 pmu->auxtrace = true;
31 pmu->selectable = true;
36 if (!strcmp(pmu->name, "ibs_op"))
37 pmu->mem_events = perf_mem_events_amd;
38 } else if (pmu->is_core) {
39 if (perf_pmu__have_event(pmu, "mem-loads-aux"))
40 pmu->mem_events = perf_mem_events_intel_aux;
42 pmu->mem_events = perf_mem_events_intel;