We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759ce73 commit e6b4da6Copy full SHA for e6b4da6
tools/perf/arch/arm/util/pmu.c
@@ -30,7 +30,7 @@ void perf_pmu__arch_init(struct perf_pmu *pmu)
30
pmu->selectable = true;
31
pmu->is_uncore = false;
32
pmu->perf_event_attr_init_default = arm_spe_pmu_default_config;
33
- if (!strcmp(pmu->name, "arm_spe_0"))
+ if (strstarts(pmu->name, "arm_spe_"))
34
pmu->mem_events = perf_mem_events_arm;
35
} else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) {
36
0 commit comments