An issue with icelakex metrics: https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tree/tools/perf/pmu-events/arch/x86/icelakex/icx-metrics.json?h=perf/core&id=65eab2bc7dab326ee892ec5a4c749470b368b51a#n48 That causes the slots not to be first.
Unified · Split
| @@ -29,7 +29,7 @@ struct evsel *arch_evlist__leader(struct list_head *list) · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | __evlist__for_each_entry(list, evsel) { |
| 31 | 31 | if (evsel->pmu_name && !strcmp(evsel->pmu_name, "cpu") && |
| 32 | − evsel->name && strstr(evsel->name, "slots")) | |
| 32 | + evsel->name && strcasestr(evsel->name, "slots")) | |
| 33 | 33 | return evsel; |
| 34 | 34 | } |
| 35 | 35 | return first; |