Messages in this thread | | | Subject | Re: [RFC] Recursive printk | From | Joe Perches <> | Date | Sat, 06 Dec 2008 01:11:33 -0800 |
| |
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.
| |