Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 8 Jan 2009 09:24:55 -0500 (EST) | From | Steven Rostedt <> | Subject | Re: [PATCH 1/2 v2] tracing/ftrace: handle more than one stat file per tracer |
| |
On Thu, 8 Jan 2009, Frederic Weisbecker wrote:
> 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?
Sure.
-- Steve
| ![\](/images/icornerr.gif) |