diff options
| author | Ian Rogers <irogers@google.com> | 2026-02-07 03:49:56 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-03-17 23:16:05 +0300 |
| commit | 8dd1d9a335321d0829aeb85d8e1a897248d0da29 (patch) | |
| tree | cf3324aa4d5328408cc6806cb2bf6892c2ca257f /scripts/dummy-tools/python3 | |
| parent | 81f86728a9804c7ff99df8f2cb7a7a081a270400 (diff) | |
| download | linux-8dd1d9a335321d0829aeb85d8e1a897248d0da29.tar.xz | |
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 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
