]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf python: Add PMU argument to parse_metrics
authorIan Rogers <irogers@google.com>
Thu, 16 Oct 2025 22:22:27 +0000 (15:22 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sun, 19 Oct 2025 02:59:44 +0000 (11:59 +0900)
commit5960aab556c6b727e56b8446c813ff18fcc845d4
treeeb9ae6bee65eeb92376036b334733bc0c0cb0dd6
parenta3ef39eb975d4ba1bd1a29b7dcc4e76d6745b305
perf python: Add PMU argument to parse_metrics

Add an optional PMU argument to parse_metrics to allow restriction of
the particular metrics to be opened. If no argument is provided then
all metrics with the given name/group are opened

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Gautam Menghani <gautam@linux.ibm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/python.c