47#define dbglog(lvl, ...) \
49 if ((lvl) <= DBGLOG_LEVEL_SUPPORT) \
50 __real_dbglog(lvl, __VA_ARGS__); \
66#define DBG_DISABLED -1
77#define DBG_SOURCE(x) (__is_defined(x) ? DBG_DEAD : DBG_MAX)
Various common macros used throughout the codebase.
void __real_dbglog(int level, const char *fmt,...) __printflike(2
Kernel debugging printf.
void dbglog_set_level(int level)
Set the debugging log level.
Compile-time options regarding debugging and other topics.