Re: [RFC] Recursive printk
From: Joe Perches
Date: Sat Dec 06 2008 - 04:11:32 EST
On Sat, 2008-12-06 at 19:40 +1100, Nick Andrew wrote:
> The basic problem is that subsystems want to prepend or append their
> own data to kernel messages generated by subsystem code, and they
> both want to use printf-type strings. How to combine them into a
> single kernel log message without using extra memory, or double
> handling of strings?
pr_fmt seems to work for that.
I think the question is how to output messages that use
multiple calls to printk so they are not interleaved.
Giving up printf argument verification seems too high a
price to pay for the benefit of recursion.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/