]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf jevents: Allow metric groups not to be named
authorIan Rogers <irogers@google.com>
Tue, 2 Dec 2025 17:50:01 +0000 (09:50 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 00:12:49 +0000 (16:12 -0800)
commite90c66c37c646962d5a7e525f5e04c75ea31f167
tree7bd52689b6d771c792fdb5418c7bdd69edc8afb5
parent38d9d511ed923f8fe9fa901d64c3c31bc812032c
perf jevents: Allow metric groups not to be named

It can be convenient to have unnamed metric groups for the sake of
organizing other metrics and metric groups. An unspecified name
shouldn't contribute to the MetricGroup json value, so don't record
it.

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