Re: [PATCH v1] perf metricgroup: Fix metricgroup__has_metric_or_groups
From: Ian Rogers
Date: Mon Feb 09 2026 - 18:06:43 EST
On Mon, Feb 9, 2026 at 1:22 AM Leo Yan <leo.yan@xxxxxxx> wrote:
>
> On Fri, Feb 06, 2026 at 04:49:56PM -0800, Ian Rogers wrote:
> > 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@xxxxxxxxxx>
>
> Reviewed-by: Leo Yan <leo.yan@xxxxxxx>
> Tested-by: Leo Yan <leo.yan@xxxxxxx>
Thanks! Sorry again for the earlier confusion on this.
Ian