Re: [PATCH 1/2 v2] tracing/ftrace: handle more than one stat fileper tracer

From: Frederic Weisbecker
Date: Thu Jan 08 2009 - 03:58:34 EST


On Wed, Jan 07, 2009 at 10:50:35PM -0500, Steven Rostedt wrote:
>
> On Wed, 7 Jan 2009, Frederic Weisbecker wrote:
>
> > Impact: new API for tracers
> >
> > Make the stat tracing API reentrant. And also provide the new directory
> > /debugfs/tracing/trace_stat which will contain all the stat files for the
> > current active tracer.
> >
> > Now a tracer will, if desired, want to provide a zero terminated array of
> > tracer_stat structures.
> > Each one contains the callbacks necessary for one stat file.
> > It have to provide at least a name for its stat file, an iterator with
> > stat_start/start_next callback and an output callback for one stat entry.
> >
> > Changes in v2:
> >
>
> Hi Frederic,
>
> This patch fails to compile the branch tracer by itself. No patch should
> break a build (for bisecting reasons).
>
> -- Steve
>

Hmm. Yes, so perhaps I can resend the two patches in one?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/