diff options
| author | Ian Rogers <irogers@google.com> | 2026-02-06 16:49:56 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-02-24 09:52:08 -0800 |
| commit | c5a244bf17caf2de22f9e100832b75f72b31d3e6 (patch) | |
| tree | c45f15ce19fb05574cf4e0dcc90c043eec4db417 /tools/perf/scripts/python | |
| parent | aa6a6a2d16c1e2e27e986936369959d70316199f (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: cee275edcdb1 ("perf metricgroup: Don't early exit if no CPUID table exists")
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Tested-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
