debug_sprintf_exception(9)
π debug_sprintf_exception β the formatted-debug-entry icon π
okay bestie, welcome to the debug_sprintf_exception(9) page in the Kernel API Manual β¨ this one is all about writing a debug entry with a format string and varargs (longs) to the active debug area β but only if level <= actual debug level β and then switching to the next debug area. itβs giving βdebug journaling with a plot twistβ ngl π
β¨ NAME β¨
debug_sprintf_exception β writes debug entry with format string and varargs (longs) to active debug area (if level <= actual debug level) and switches to next debug area. π
π οΈ SYNOPSIS π οΈ
debug_sprintf_exception (_id , _level , _fmt , ... );
π ARGUMENTS π
_idβ handle for debug log π«Ά_levelβ debug level β_fmtβ format string for debug entry π...β varargs used as insprintfβ¨
π¦ RETURN π¦
- Address of written debug entry π
NULLif error π
πΈ DESCRIPTION πΈ
so the one big caveat, bestie: floats and long long datatypes cannot be used as varargs. periodt. π
π₯ SEE ALSO π₯
Kernel file ./arch/s390/include/asm/debug.h β and the whole squad is: debug_level_enabled(9), debug_event(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), and DEFINE_STATIC_DEBUG_INFO(9) π
mwah π signed off from ./arch/s390/include/asm, October 2026, all about debug_sprintf_exception(9) π
π¦ 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