[PATCH v1 02/22] perf metricgroup: Update comment on location of metric_event list

From: Ian Rogers
Date: Fri Oct 24 2025 - 14:00:28 EST


Update comment as the stat_config no longer holds all metrics.

Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
Fixes: faebee18d720 ("perf stat: Move metric list from config to evlist")
---
tools/perf/util/metricgroup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/metricgroup.h b/tools/perf/util/metricgroup.h
index 324880b2ed8f..4be6bfc13c46 100644
--- a/tools/perf/util/metricgroup.h
+++ b/tools/perf/util/metricgroup.h
@@ -16,7 +16,7 @@ struct cgroup;

/**
* A node in a rblist keyed by the evsel. The global rblist of metric events
- * generally exists in perf_stat_config. The evsel is looked up in the rblist
+ * generally exists in evlist. The evsel is looked up in the rblist
* yielding a list of metric_expr.
*/
struct metric_event {
--
2.51.1.821.gb6fe4d2222-goog