mon_event_config_index_get(9)
β¨ NAME β¨
okay so bestie, this is mon_event_config_index_get(9) from the Kernel API Manual β and the whole vibe is that it gets the hardware index for the configurable event. that's the mission, periodt π
πΈ SYNOPSIS πΈ
unsigned int mon_event_config_index_get (u32 evtid );
π ARGUMENTS π
evtidβ event id. literally the event id, no extra lore π«Ά
π¦ RETURN π¦
0forevtid == QOS_L3_MBM_TOTAL_EVENT_IDβ that's your zero case, bestie β¨1forevtid == QOS_L3_MBM_LOCAL_EVENT_IDβ that's your one case πINVALID_CONFIG_INDEXfor invalidevtidβ the "nope, invalid" answer, iconic π
π SEE ALSO π
- Kernel file
./arch/x86/kernel/cpu/resctrl/rdtgroup.cβ go peek if you're nosy, iykyk πΈ
source/version: ./arch/x86/kernel/cpu/resctrl Β· date: October 2026 β mwah, that's the page, slay ππ¦
π¦ 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