debug_set_level(9)
π debug_set_level(9) π
okay bestie, so this is a page from the Kernel API Manual β it's debug_set_level(9) and honestly it's giving "short and sweet, no notes" π
β¨ NAME β¨
debug_set_level β sets the new actual debug level, but only if new_level is valid. lowkey the whole personality of this function right there π«Ά
πΈ SYNOPSIS πΈ
void debug_set_level (debug_info_t *id , int new_level );
like, that's it. that's the whole signature. iconic behavior honestly β¨
π¦ ARGUMENTS π¦
idβ the handle for the debug log. it's your little entry pass into the debug world πnew_levelβ the new debug level. this is the vibe you're trying to set π
π RETURN π
none β literally nothing comes back. no return value, no drama, no crumbs. periodt π
π SEE ALSO π
the kernel file ./arch/s390/kernel/debug.c and its whole friend group:
debug_next_entry(9)debug_to_act_entry(9)debug_prev_entry(9)debug_move_entry(9)debug_dump(9)debug_register_mode(9)debug_register(9)debug_register_static(9)debug_unregister(9)debug_stop_all(9)debug_set_critical(9)debug_register_view(9)debug_unregister_view(9)
like okayyy squad goals π§π
ngl this one's a quick read, but that's the point β set the level, keep it valid, move on. no cap π₯
and that's the whole page bestie!! it lives in ./arch/s390/kernel and the version/date stamp on it says October 2026 β so yeah, freshly dated, main character energy, see u next time π
πβ
π¦ 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