Messages in this thread | | | Date | Thu, 5 Apr 2012 10:08:20 +0200 | From | Sam Ravnborg <> | Subject | Re: [PATCH] printk: support structured and multi-facility log messages |
| |
> > > > How are arbitrary key/value pairs attached > > in a printk? > > There are 120 lines in the changelog, and a 100 lines large comment > block in the source code, and another 50 lines spread over the code, > and the hexdump examples in it, and all that? Even without looking at > a single line of code, it should be explained from different > viewpoints more than once.
color me blind - but I could not find any example of how I specify key/value pairs when I use printk().
I could find lots of internal information - that parts looks to be extensively documented - good.
But how I as a user specify this I failed to find. Today I do:
printk(KERN_ERR "foobar is bad");
But how is that extended to include the key/value pairs?
Sam
| |