scx_add_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is scx_add_event(9) from the Kernel API Manual β€” the function that increases an event counter for name by cnt. no cap, that's the whole NAME section. πŸ’…βœ¨


✨ SYNOPSIS ✨

the signature is literally this, character-for-character:

scx_add_event (sch , name , cnt );

πŸŽ€ ARGUMENTS πŸŽ€

  • sch β€” the scx_sched you're accounting events for. πŸ‘‘
  • name β€” an event name defined in struct scx_event_stats. 🏷️
  • cnt β€” the number of the event occurred. πŸ”’

πŸ’… DESCRIPTION πŸ’…

okay so the whole description is giving: this can be used when preemption is not disabled. that's the rule, bestie β€” preemption not disabled, you're good. 🫢


πŸ”₯ SEE ALSO πŸ”₯

go read these too, iykyk:


mwah πŸ’‹ β€” source/version: ./kernel/sched/ext, dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from