lkml.org 
[lkml]   [2008]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Recursive printk
On Sat, Dec 06, 2008 at 07:40:38PM +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?

The basic problem with your approach is that printk interpretation of
arguments becomes dependent on more than its first (and hopefully
an explicit constant) argument.


\
 
 \ /
  Last update: 2008-12-06 20:39    [W:0.108 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site