[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080618160223.GA9453@kroah.com>
Date: Wed, 18 Jun 2008 09:02:23 -0700
From: Greg KH <greg@...ah.com>
To: Takashi Nishiie <t-nishiie@...css.fujitsu.com>
Cc: 'Jason Baron' <jbaron@...hat.com>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, joe@...ches.com,
nick@...k-andrew.net, randy.dunlap@...cle.com
Subject: Re: [PATCH 0/8] dynamic debug
On Mon, Jun 16, 2008 at 11:26:12AM +0900, Takashi Nishiie wrote:
> Hi.
>
> Jason Baron wrote:
> >Each kernel sub-system seems to have its own way of dealing with
> >debugging statements. Some of these methods include 'dprintk',
> >'pr_debug', 'dev_debug', 'DEBUGP'. There are also a myriad of
> >ways of enabling these statements.
>
> I propose to replace 'Pr_debug', 'Dev_debug', and 'DEBUGP' with
> kernel markers. SystemTap is used for the output of the log.
That would be a nice goal, but how are you going to handle dynamic
strings?
> I propose to make it to the function to output only specified
> kernel markers as a log and the function in a word like LTTng of
> a simple version by using the framework and kernel markers of
> ftrace if the log is output by using debugfs.
It might be a nice long term goal, but this patchset is a much simpler
approach for this time, not requiring systemtap or any external tool-set
to be installed and set up properly.
thanks,
greg k-h
--
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