[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0903251529380.5675@gandalf.stny.rr.com>
Date: Wed, 25 Mar 2009 15:31:29 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Frederic Weisbecker <fweisbec@...il.com>
cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Tim Bird <tim.bird@...sony.com>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 1/5][RFC] tracing: add function profiler
On Wed, 25 Mar 2009, Frederic Weisbecker wrote:
> > +
> > +static const struct file_operations ftrace_profile_fops = {
> > + .open = tracing_open_generic,
> > + .read = ftrace_profile_read,
> > + .write = ftrace_profile_write,
> > +};
>
>
> I should really provide such helper per stat tracer.
>
> Say, something like:
>
> /debug/tracing/trace_stat/name/enable
>
No, because if you notice in the later patches, I add a per cpu tracing.
This is standard operations, and adding too much will unnecessarily limit
what we can do.
-- Steve
--
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