debug_text_exception(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… debug_text_exception

okay so this is from the Kernel API Manual, section 9 (kernel API, bestie β€” the big leagues). it's a lil' function page and honestly? it's giving "s390 debug infrastructure realness." let's get into it ✨


🌸 NAME

debug_text_exception β€” writes a string debug entry in ascii format to the active debug area (but only if level <= actual debug level, no cap) and then switches to the next debug area. πŸ’«

like, it drops your little text note into the debug log and moves the party to the next area. multitasking icon behavior, honestly.


πŸŽ€ SYNOPSIS

debug_entry_t * debug_text_exception (debug_info_t *id , int level ,
       const char *txt );

three args, one pointer back. cute and efficient 🫢


πŸ¦‹ ARGUMENTS

  • id β€” handle for the debug log. this is your golden ticket, your backstage pass, the thing that says "yes this log, right here." 🎟️
  • level β€” the debug level. this one's the vibe check: the entry only gets written if it passes the level <= actual debug level test. too high? not today, bestie. πŸ™ˆ
  • txt β€” the string that goes into the debug entry. this is your moment, your main character text. say what you gotta say. πŸ’¬

⭐ RETURN

  • πŸ“ Address of the written debug entry β€” it ate, it delivered, here's your proof.
  • 😭 NULL if error β€” something went wrong, zero crumbs, no entry for you.
fr fr check for that NULL, because the error case is just NULL with no extra lore attached. be responsible with your pointer. πŸ’€

πŸ‘‘ SEE ALSO

Kernel file ./arch/s390/include/asm/debug.h β€” plus the whole friend group, all lowkey obsessed with each other:


aaand that's the page πŸ§šπŸ’œ this one lives at ./arch/s390/include/asm, dated October 2026, and it's filed under debug_text_exception(9) β€” go read the whole debug squad, they're all linked above. slay, periodt, happy hacking 🌈πŸ”₯

πŸ“¦ where this page comes from