scx_add_event(9)
πΈ 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β thescx_schedyou're accounting events for. πnameβ an event name defined instruct 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:
- Kernel file
./kernel/sched/ext/internal.hβ__scx_add_event(9)π struct scx_enable_args(9)struct sched_ext_ops(9)struct sched_ext_ops_cid(9)scx_arena_to_kaddr(9)scx_kaddr_to_arena(9)DEFINE_SCX_COMPAT_MARKER(9)scx_root_protected_live(9)scx_root_protected(9)scx_bypass_dsp_enabled(9)scx_ops_sanitize_err(9)scx_has_subs(9)scx_task_sched(9)scx_task_sched_rcu(9)scx_task_on_sched(9)scx_prog_sched(9)scx_parent(9)π
mwah π β source/version: ./kernel/sched/ext, dated October 2026. periodt. π
π¦ 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