_batadv_dbg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _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 πŸ’€

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