[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Where do `pr_warning()`s end up?



Hello && GTOTD,

I'm trying to make sense of some kernel driver code and I noticed some
`pr_warning()` calls.

From kernel.h I know pr_warning is an `eprintf()` macro:

    #define pr_warning(fmt, ...) \
            eprintf(0, pr_fmt(fmt), ##__VA_ARGS__)

while eprintf is defined in debug.c.


So.... Does this appear somewhere during normal (Debian Wheezy)
operation? Or is it purely a debugging thing and I would need a
specifically compiled kernel?

Can I somehow make the driver print them for me without need to
recompile kernel?


Thanks,
aL.

-- 
Alois Mahdal


Reply to: