STRUCT RESCTRL_MON(9)
struct resctrl_mon(9)
okay so this page is from the Kernel API Manual, and it's literally about struct resctrl_mon β the monitoring-related data of a resctrl resource. bestie, it's giving βkernel struct with a whole monitoring side questβ energy π
β¨. Manual name? folded in right here so we can skip the boring header line, periodt.
π NAME π
struct resctrl_mon β monitoring related data of a resctrl resource. no cap, that's the whole name, and it ate.
β¨ SYNOPSIS β¨
here's the struct, verbatim, because we do not mess with code in this group chat π«Ά:
struct resctrl_mon {
u32 num_rmid;
unsigned int mbm_cfg_mask;
int num_mbm_cntrs;
bool mbm_cntr_assignable;
bool mbm_assign_on_mkdir;
bool mbm_cntr_configurable;
bool mbm_cntr_assign_fixed;
};
bestie, every field in this block is realβno invented options, no extra lore, fr fr.
π«Ά Members π«Ά
num_rmidβ Number of RMIDs available. that's the count, iconic.mbm_cfg_maskβ Memory transactions that can be tracked when bandwidth monitoring events can be configured. lowkey a mouthful, but that's the fact.num_mbm_cntrsβ Number of assignable counters. periodt.mbm_cntr_assignableβ Is system capable of supporting counter assignment? the struct is literally asking.mbm_assign_on_mkdirβ True if counters should automatically be assigned to MBM events of monitor groups created viamkdir. automatic assignment vibe.mbm_cntr_configurableβ True if assignable counters are configurable. yup.mbm_cntr_assign_fixedβ True if the counter assignment mode is fixed. fixed-mode flag, slay.
π₯ SEE ALSO π₯
the whole related-page friend group, plus the kernel file itself β go read, iykyk:
- Kernel file
./include/linux/resctrl.h enum resctrl_conf_type(9)struct resctrl_staged_config(9)struct rdt_domain_hdr(9)struct rdt_ctrl_domain(9)struct mbm_cntr_cfg(9)struct rdt_l3_mon_domain(9)struct resctrl_cache(9)enum membw_throttle_mode(9)struct resctrl_membw(9)enum resctrl_schema_fmt(9)struct rdt_resource(9)struct resctrl_schema(9)resctrl_arch_sync_cpu_closid_rmid(9)resctrl_get_default_ctrl(9)resctrl_arch_mon_event_config_write(9)resctrl_arch_mon_event_config_read(9)resctrl_arch_mbm_cntr_assign_enabled(9)resctrl_arch_mbm_cntr_assign_set(9)resctrl_arch_rmid_read(9)resctrl_arch_rmid_read_context_check(9)resctrl_find_domain(9)resctrl_arch_reset_rmid(9)resctrl_arch_reset_rmid_all(9)resctrl_arch_reset_all_ctrls(9)resctrl_arch_config_cntr(9)resctrl_arch_cntr_read(9)resctrl_arch_reset_cntr(9)resctrl_arch_io_alloc_enable(9)resctrl_arch_get_io_alloc_enabled(9)
okay that's the page, bestie β source/version: ./include/linux, date: October 2026, and struct resctrl_mon(9) is out here with main character energy. ππ«Άβ¨
π¦ 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