lkml.org 
[lkml]   [2012]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-04-05 10:11    [W:0.065 / U:2.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site