debug_sprintf_event(9)
π debug_sprintf_event(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for debug_sprintf_event(9), and it's honestly such a serve. s390 kernel debugging but make it cute. let's go π
β¨ NAME β¨
debug_sprintf_event β writes debug entry with format string and varargs (longs) to active debug area (if level $<=$ actual debug level). periodt π
πΈ SYNOPSIS πΈ
debug_sprintf_event (_id , _level , _fmt , ... );
π¦ ARGUMENTS π¦
_idβ handle for debug log. it's giving "your entry ticket to the debug party" ποΈ_levelβ debug level. the vibe check for whether this thing actually gets written, iykyk_fmtβ format string for debug entry. this is the main character of the call ngl...β varargs used as insprintf. bring your whole friend group π«Ά
β RETURN β
- Address of written debug entry π₯
NULLif error π
π DESCRIPTION π
bestie. listen. this is the one thing you cannot fumble:
floats and long long datatypes cannot be used as varargs.
no floats. no long long. not in this house. the varargs here are longs, and that's the whole story, fr fr π
π SEE ALSO π
Kernel file ./arch/s390/include/asm/debug.h, plus the whole friend group:
debug_level_enabled(9)debug_event(9)debug_int_event(9)debug_long_event(9)debug_text_event(9)debug_exception(9)debug_int_exception(9)debug_long_exception(9)debug_text_exception(9)debug_sprintf_exception(9)DEFINE_STATIC_DEBUG_INFO(9)
that's the whole page, bestie β you ate π β¨
this iconic little number lives in ./arch/s390/include/asm and it's stamped October 2026, so likeβ¦ future vibes only π§π bye bestie!! πΈπ
π¦ 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