ERROR_CLASS_NAMES

Constant ERROR_CLASS_NAMES 

Source
pub const ERROR_CLASS_NAMES: &[&str];
Expand description

Default curated subset of ScxEventsView::total_pairs counter names that signal genuine scheduler-class errors when non-zero. Used to filter the full 14-entry total slice down to the entries that callers conventionally bound at zero with crate::assert::assert_scx_events_clean.

Membership is the documented intersection of the kernel-side SCX_EV_* counters whose non-zero firing is exclusively pathological (skipped enqueue paths, repeated re-enqueue cycles, owner-mismatched inserts) — the bypass_*, dispatch_keep_last, refill_slice_dfl counters that legitimately fire on healthy schedulers are deliberately excluded. Different test scenarios may consider different counters error-class; the projector exposes the full slice via ScxEventsView::total_pairs so callers can override this default by filtering on their own set.