[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120405080820.GB17658@merkur.ravnborg.org>
Date: Thu, 5 Apr 2012 10:08:20 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Kay Sievers <kay@...y.org>
Cc: Joe Perches <joe@...ches.com>,
Greg Kroah-Hartmann <greg@...ah.com>,
linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists