debug_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– debug_event(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this is the debug_event(9) page, and it is literally about writing a binary debug entry to the active debug area (only if level <= actual debug level, iykyk) ✨ no cap.

🌸 NAME 🌸

debug_event β€” writes binary debug entry to active debug area (if level <= actual debug level).

✨ SYNOPSIS ✨

debug_entry_t * debug_event (debug_info_t *id , int level , void *data ,
       int length );

πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” handle for debug log. your lil VIP pass πŸ’³
  • level β€” debug level. the vibe check number πŸ‘€
  • data β€” pointer to data for debug entry.
  • length β€” length of data in bytes.

πŸ”₯ RETURN πŸ”₯

  • Address of written debug entry β€” it ate, and it left receipts πŸŽ‰
  • NULL if error β€” not the slay we wanted 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./arch/s390/include/asm/debug.h β€” plus the whole bestie lineup: debug_level_enabled(9), debug_int_event(9), debug_long_event(9), debug_text_event(9), debug_sprintf_event(9), debug_exception(9), debug_int_exception(9), debug_long_exception(9), debug_text_exception(9), debug_sprintf_exception(9), and DEFINE_STATIC_DEBUG_INFO(9).

xoxo πŸ’‹ huge kisses from the ./arch/s390/include/asm source, October 2026 edition β€” go write those debug entries, bestie 🫢✨

πŸ“¦ where this page comes from