debug_set_level(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:

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