On Wednesday 23 June 2010 17:23:59 Andrew Lunn wrote:
if (bat_debug_type(type)) \
printk(KERN_DEBUG "batman-adv:" fmt, ## arg); \
did you think about keeping this? Maybe use some of the spare bits of debug to indicate what goes into the circular buffer and what goes to the kernel log?
I don't see the two schemes are mutually exclusive. "Normal" kernel hackers will look in the normal kernel logging places and could be a bit surprised when its not there.
Sven is in the progress of revising the "ordinary" printks to make them more "kernel-ish". Or do you think that normal kernel hackers would be interested in seeing the routing debug messages in the standard kernel log as well ?
Regards, Marek