diff options
| author | 2026-02-06 16:49:56 -0800 | |
|---|---|---|
| committer | 2026-03-17 17:16:05 -0300 | |
| commit | 8dd1d9a335321d0829aeb85d8e1a897248d0da29 (patch) | |
| tree | cf3324aa4d5328408cc6806cb2bf6892c2ca257f /tools/perf/scripts/python/stackcollapse.py | |
| parent | tools headers: Skip arm64 cputype.h check (diff) | |
perf metricgroup: Fix metricgroup__has_metric_or_groups()
Use metricgroup__for_each_metric() rather than
pmu_metrics_table__for_each_metric() that combines the
default metric table with, a potentially empty, CPUID table.
Fixes: cee275edcdb1acfd ("perf metricgroup: Don't early exit if no CPUID table exists")
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Leo Yan <leo.yan@arm.com>
Cc: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
