ENUM METRIC_EVENT_GROUPS(9)
π enum metric_event_groups(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this one's a little baby page about enum metric_event_groups, which is literally just a vibes-check for how events inside a pmu_metric should be grouped. that's it. that's the whole lore. π
β¨ NAME β¨
enum metric_event_groups β how events within a pmu_metric should be grouped. no cap, that's the entire job description π«Ά
πΈ SYNOPSIS πΈ
enum metric_event_groups {
MetricGroupEvents ,
MetricNoGroupEvents ,
MetricNoGroupEventsNmi ,
MetricNoGroupEventsSmt ,
MetricNoGroupEventsThresholdAndNmi
};
look at her. five little constants, all lined up, all iconic π
π Constants π
MetricGroupEventsβ the default one, bestie β¨ group events within the metric. that's the standard behavior, the main character energy, the one everybody gets unless you say otherwise.MetricNoGroupEventsβ do not group events for the metric. that's it, that's the whole instruction πMetricNoGroupEventsNmiβ don't group events for the metric if the NMI watchdog is enabled. like, conditional queen π the grouping stays off only when that watchdog is up.MetricNoGroupEventsSmtβ don't group events for the metric if SMT is enabled. same deal, different condition βMetricNoGroupEventsThresholdAndNmiβ don't group events for the metric thresholds and if the NMI watchdog is enabled. yes, both things: the metric thresholds and the NMI watchdog being enabled π₯
ngl these are all just "group" vs "don't group" with progressively more conditions attached, so don't overthink it π§
π¦ SEE ALSO π¦
Kernel file ./tools/perf/pmu-events/pmu-events.hβ go read the actual source, iykyk π
and that's the page, bestie!! π«Ά this lil gem lives over in ./tools/perf/pmu-events and the docs are stamped October 2026 β slay, see you in the source tree πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms