summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86/util/evlist.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-05-27 15:48:45 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-05-27 15:48:45 -0700
commit1e90e2628cec11c080db3260833f515cc32fc27c (patch)
treea50cb16a2046266e39a60bc554782e667edd31c4 /tools/perf/arch/x86/util/evlist.c
parentb26ff9137183309c18cdfe931e1cafcf3c1a980d (diff)
parent5f76955ab1e43e5795a9631b22ca4f918a0ae986 (diff)
downloadlinux-1e90e2628cec11c080db3260833f515cc32fc27c.tar.bz2
Merge branch 'next' into for-linus
Prepare input updates for 5.19 merge window.
Diffstat (limited to 'tools/perf/arch/x86/util/evlist.c')
-rw-r--r--tools/perf/arch/x86/util/evlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/util/evlist.c b/tools/perf/arch/x86/util/evlist.c
index f924246eff78..8d9b55959256 100644
--- a/tools/perf/arch/x86/util/evlist.c
+++ b/tools/perf/arch/x86/util/evlist.c
@@ -29,7 +29,7 @@ struct evsel *arch_evlist__leader(struct list_head *list)
__evlist__for_each_entry(list, evsel) {
if (evsel->pmu_name && !strcmp(evsel->pmu_name, "cpu") &&
- evsel->name && strstr(evsel->name, "slots"))
+ evsel->name && strcasestr(evsel->name, "slots"))
return evsel;
}
return first;