diff options
| author | Kan Liang <[email protected]> | 2023-06-07 16:26:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-06-14 02:40:33 +0000 |
| commit | e4c4e8a538a0db071d291bc2dca487e1882a7d4f (patch) | |
| tree | 6ae78ccfa0ce08c6b09f3164fc6a316783ea19b7 /tools/perf/scripts/python | |
| parent | tools api fs: More thread safety for global filesystem variables (diff) | |
| download | kernel-e4c4e8a538a0db071d291bc2dca487e1882a7d4f.tar.gz kernel-e4c4e8a538a0db071d291bc2dca487e1882a7d4f.zip | |
perf metric: Fix no group check
The no group check fails if there is more than one meticgroup in the
metricgroup_no_group.
The first parameter of the match_metric() should be the string, while
the substring should be the second parameter.
Fixes: ccc66c6092802d68 ("perf metric: JSON flag to not group events if gathering a metric group")
Signed-off-by: Kan Liang <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ahmad Yasin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
