param_set_dyndbg_classes(9)
π param_set_dyndbg_classes(9)
okay bestie, welcome to the Kernel API Manual β this one's a 9 section situation, and honestly? it's giving "tiny function, big responsibilities" energy. let's get into it π«Ά
β¨ NAME β¨
param_set_dyndbg_classes β literally the class FOO >control moment. that's the whole name, no cap π
πΈ SYNOPSIS πΈ
int param_set_dyndbg_classes (const char *instr , const struct
kernel_param *kp );
look at her. two args, one int return, absolute main character energy π
π ARGUMENTS π
instrβ the string that's beenecho>dinto sysfs. heads up: what it actually means depends on yourmap_type, so likeβ¦ it's flexible πkpβ this is where the state lives. specificallykp->arghas the goods: bits/lvl, map, and map_type. all three, together, iconic π₯
π¦ DESCRIPTION π¦
so what does she do? she enables/disables prdbgs by their class β the classes being the ones you handed over in the arguments to DECLARE_DYNDBG_CLASSMAP. periodt β¨
and for LEVEL map-types specifically? she enforces relative levels by bitpos. that's the rule, that's the vibe check π
β RETURN β
0 or <0 if there's an error. that's it, that's the whole story β success or sadness, no in-between π
π SEE ALSO π
- Kernel file
./lib/dynamic_debug.c param_get_dyndbg_classes(9)β yeah, her counterpart, the getter to this setter, iykyk π
ngl, the getter/setter duo in ./lib/dynamic_debug.c is lowkey a matched set. go read both fr fr π§
and that's the page, bestie! this lil beauty comes to you from ./lib, dated October 2026, and it's param_set_dyndbg_classes(9) all the way through. slay, stay debugged, and may all your classes map correctly ππβ¨
π¦ 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