_batadv_dbg(9)
π _batadv_dbg(9) β the Kernel API Manual, bestie edition π
okay so this is a kernel API manual page, and the manpage name is _batadv_dbg β yes it starts with an underscore, that's not a typo, that's just how it is. it lives in section 9 of the manual (the kernel API girlies β¨). buckle up, we're learning how to store debug output, with or without rate limiting π
πΈ NAME πΈ
_batadv_dbg β literally stores debug output, and you get to pick whether it's rate limited or not. no cap, that's the whole vibe π¦
β¨ SYNOPSIS β¨
_batadv_dbg (type , bat_priv , ratelimited , fmt , arg... );
that's her. that's the function. aren't you obsessed π
π«Ά ARGUMENTS π«Ά
okay let's go through the glow-up checklist one by one, because every single one of these matters:
typeβ the type of debug message. like, which flavour of debugging are we doing today bestie πbat_privβ the bat priv, and it's the one holding all the mesh interface information. yes, all of it. she contains multitudes πratelimitedβ a yes/no little situation: should the output be rate limited or not? your call, main character πfmtβ the format string. classic. iconic. we love her πarg...β the variable arguments. there can be many, they're variable, that's literally the name π§
bestie reminder: the arguments are literally always in this order, so don't get cute and shuffle them around π
π SEE ALSO π
- the kernel file
./net/batman-adv/log.h enum batadv_dbg_level(9)batadv_dbg(9)batadv_dbg_ratelimited(9)batadv_info(9)batadv_err(9)
go read those too, iykyk π₯
and that's the whole page, periodt π β¨
this little gem comes from ./net/batman-adv and it's dated October 2026 β so yes she's from the future, and she ate πΈπ¦π aka the manual page for _batadv_dbg(9), signing off π
π¦ 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