pr_devel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pr_devel(9) πŸ’–

bestie, welcome to the Kernel API Manual entry for pr_devel β€” it's lowkey iconic and very "do I exist or not?" energy ✨

πŸ’… NAME πŸ’…

pr_devel β€” print a debug-level message conditionally πŸŽ€

✨ SYNOPSIS ✨

okay so here's the call vibe check:

pr_devel (fmt , ... );

πŸ¦‹ ARGUMENTS πŸ¦‹

what you're passing in, bestie 🫢

  • fmt β€” format string
  • ... β€” arguments for the format string

🌸 DESCRIPTION 🌸

okay so here's the actual tea β˜•: pr_devel is a macro. If DEBUG is defined, it expands to a printk with the KERN_DEBUG loglevel. Otherwise it does nothing β€” like, literally nothing, no cap πŸ’€

It uses pr_fmt to generate the format string, so that's the formatting pipeline you're working with πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./include/linux/printk.h and the rest of the squad:


that's the whole page, bestie πŸ’– source spot: ./include/linux, dated October 2026, and the name on the door is pr_devel(9) β€” periodt ✨🫢

πŸ“¦ where this page comes from