Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf metricgroup: Update comment on location of metric_event list

Update comment as the stat_config no longer holds all metrics.

Signed-off-by: Ian Rogers <irogers@google.com>
Fixes: faebee18d720 ("perf stat: Move metric list from config to evlist")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>

authored by

Ian Rogers and committed by
Namhyung Kim
5faa23cd 371d3239

+1 -1
+1 -1
tools/perf/util/metricgroup.h
··· 16 16 17 17 /** 18 18 * A node in a rblist keyed by the evsel. The global rblist of metric events 19 - * generally exists in perf_stat_config. The evsel is looked up in the rblist 19 + * generally exists in evlist. The evsel is looked up in the rblist 20 20 * yielding a list of metric_expr. 21 21 */ 22 22 struct metric_event {