]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf jevents: Update metric constraint support
authorIan Rogers <irogers@google.com>
Tue, 2 Dec 2025 17:49:59 +0000 (09:49 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 00:12:49 +0000 (16:12 -0800)
commite7b9e750b3ce1b4105ecf7200d709113552ecd54
tree505a68b09ec62031300a548492318d185930c03d
parent33c44bbcd48917275de7a43af9b2f25e03d3a52d
perf jevents: Update metric constraint support

Previous metric constraints were binary, either none or don't group
when the NMI watchdog is present. Update to match the definitions in
'enum metric_event_groups' in pmu-events.h.

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