[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100723013716.GA7362@dastard>
Date: Fri, 23 Jul 2010 11:37:16 +1000
From: Dave Chinner <david@...morbit.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Ingo Molnar <mingo@...e.hu>,
Johannes Berg <johannes@...solutions.net>,
Lin Ming <ming.m.lin@...el.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Robert Richter <robert.richter@....com>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Peter Zijlstra <peterz@...radead.org>,
Greg KH <greg@...ah.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Paul Mundt <lethal@...ux-sh.org>,
"eranian@...il.com" <eranian@...il.com>,
"Gary.Mohr@...l.com" <Gary.Mohr@...l.com>,
"arjan@...ux.intel.com" <arjan@...ux.intel.com>,
"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
Paul Mackerras <paulus@...ba.org>,
"David S. Miller" <davem@...emloft.net>,
Russell King <rmk+kernel@....linux.org.uk>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Will Deacon <will.deacon@....com>,
Maynard Johnson <mpjohn@...ibm.com>,
Carl Love <carll@...ibm.com>,
Kay Sievers <kay.sievers@...y.org>,
lkml <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [RFC][PATCH v1 06/15] perf: export tracepoint events via
sysfs: iwlwifi and iwlwifi_io
On Thu, Jul 22, 2010 at 09:54:04AM -0400, Steven Rostedt wrote:
> On Thu, 2010-07-22 at 15:48 +0200, Ingo Molnar wrote:
> > * Steven Rostedt <rostedt@...dmis.org> wrote:
>
> > Yeah - and the point of this submission is to allow the discussion of how to
> > achieve these registrations.
> >
> > Driver authors will want to have some control - for example the place where
> > the events directory shows up in sysfs within the driver's directory structure
> > - etc.
> >
> > But we indeed want to automate it as much as possible.
>
> Perhaps we can create a TRACE_EVENT_PATH() macro, that allows the
> developer to specify the path that the event will be seen in sysfs?
Perhaps you could build that into the event class definition as well
so each separate class in a subsystem can be placed in it's own
sub-directory?
That would make turning on and off specific classes trace points so
much simpler than it now, espcially for XFS where we now have > 250
tracepoints that are mostly defined by event classes already...
Cheers,
Dave.
--
Dave Chinner
david@...morbit.com
--
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