On Wed, Jun 23, 2010 at 04:20:38PM +0200, Marek Lindner wrote:
Hi Marek
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.
Andrew