[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1218733910.2651.20.camel@localhost>
Date: Thu, 14 Aug 2008 19:11:50 +0200
From: Martin Schwidefsky <schwidefsky@...ibm.com>
To: Tim Hockin <thockin@...kin.org>
Cc: Rusty Russell <rusty@...tcorp.com.au>, Jan Kara <jack@...e.cz>,
Pavel Machek <pavel@....cz>,
lf_kernel_messages@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
Jochen Voß <jochen.voss@...glemail.com>,
Sam Ravnborg <sam@...nborg.org>,
Kunai Takashi <kunai@...ux-foundation.jp>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-s390@...r.kernel.org, Gerrit Huizenga <gh@...ibm.com>,
Michael Holzheu <holzheu@...ibm.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
Tim Bird <tim.bird@...sony.com>
Subject: Re: [patch 1/3] kmsg: Kernel message catalog macros.
On Thu, 2008-08-14 at 08:40 -0700, Tim Hockin wrote:
> On Aug 13, 2008 9:15 PM, "Rusty Russell" <rusty@...tcorp.com.au> wrote:
>
> > On Wednesday 13 August 2008 17:04:11 Tim Hockin wrote:
> >> But there are a number of places that have ...Well, if they're to be the
> >> same messages under the manual-numbering scheme,
> >
> > someone has to verify that they are really the same anyway. Not much more
> > work to simply fix them in that case, is it?
> >
> > If it improves normal kernel messages, then everyone wins.
>
> Oh, I agree with that. I personally don't care much for the msg ID part of
> this patch (I mean I don't care either way). It might be nice to have man
> pages, but I just see it becoming out of sync, duplicate numbers, etc.
No, the kmsg-doc script will prevent that the kmsg message will become
of of sync and it checks for duplicate numbers. The idea here is that
the kmsg man pages are generated with the kernel compile (just try it
with "make D=2").
> What I want to see is the elevation of these call-sites from "it's just a
> printk()" to "it's a report-worthy event and part of our user<->kernel API". I
> want people to add them when it's appropriate and then not change the strings
> later. I don't care if, in the end, they are structured strings. I do care if
> I have to run dozens of regexes against thousands of log-lines on thousands of
> systems.
>
> :)
Yes, and this has already happened with the s390 device driver messages.
With the conversion to kmsg our developers removed a lot of crud from
the code, this alone makes it worthwhile.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
--
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