diff options
author | Ian Rogers <irogers@google.com> | 2025-07-18 20:05:17 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-24 13:41:36 -0700 |
commit | fcc7cc31239d0fbf0ebf25e65f7f572caed40206 (patch) | |
tree | c4012b5acdcfd9a3c1aaf388ca27272bd8d78b06 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8dcd27b1b8661f64e220bc26a499865261d5d0f1 (diff) |
perf metricgroups: Add NO_THRESHOLD_AND_NMI constraint
Thresholds can increase the number of counters a metric needs. The NMI
watchdog can take away a counter (hopefully the buddy watchdog will
become the default and this will no longer be true). Add a new
constraint for the case that a metric and its thresholds would fit in
counters but only if the NMI watchdog isn't enabled. Either the
threshold or the NMI watchdog should be disabled to make the metric
fit. Wire this up into the metric__group_events logic.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250719030517.1990983-16-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions