]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf jevents: Skip optional metrics in metric group list
authorIan Rogers <irogers@google.com>
Tue, 2 Dec 2025 17:50:07 +0000 (09:50 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 00:12:50 +0000 (16:12 -0800)
commitd9f2ce394c91c28728481564168a59aa5bac376f
tree9627499100c8c5fe6612fd4322ffe9771fafccb8
parenta1d9bb1a047286b36a06a5353a266e8baac4b93d
perf jevents: Skip optional metrics in metric group list

For metric groups, skip metrics in the list that are None. This allows
functions to better optionally return metrics.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Falcon <thomas.falcon@intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/metric.py