Lines Matching refs:pmu
19 void perf_pmu__arch_init(struct perf_pmu *pmu) in perf_pmu__arch_init() argument
24 if (!strcmp(pmu->name, CORESIGHT_ETM_PMU_NAME)) { in perf_pmu__arch_init()
26 pmu->auxtrace = true; in perf_pmu__arch_init()
27 pmu->selectable = true; in perf_pmu__arch_init()
28 pmu->perf_event_attr_init_default = cs_etm_get_default_config; in perf_pmu__arch_init()
30 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__arch_init()
31 pmu->auxtrace = true; in perf_pmu__arch_init()
32 pmu->selectable = true; in perf_pmu__arch_init()
33 pmu->is_uncore = false; in perf_pmu__arch_init()
34 pmu->perf_event_attr_init_default = arm_spe_pmu_default_config; in perf_pmu__arch_init()
35 if (strstarts(pmu->name, "arm_spe_")) in perf_pmu__arch_init()
36 pmu->mem_events = perf_mem_events_arm; in perf_pmu__arch_init()
37 } else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) { in perf_pmu__arch_init()
38 pmu->auxtrace = true; in perf_pmu__arch_init()
39 pmu->selectable = true; in perf_pmu__arch_init()
44 intersect = perf_cpu_map__intersect(cpu_map__online(), pmu->cpus); in perf_pmu__arch_init()
45 perf_cpu_map__put(pmu->cpus); in perf_pmu__arch_init()
46 pmu->cpus = intersect; in perf_pmu__arch_init()