Re: [PATCH] tracing/ftrace: stop {irqs,preempt}soff tracers whentracing is stopped

From: Steven Rostedt
Date: Wed Mar 18 2009 - 10:01:12 EST





On Wed, 18 Mar 2009, Ingo Molnar wrote:
> >
> > I tested the call to the start/stop callbacks from tracing_start()
> > and tracing_stop() but it's not possible for now: the sched_switch
> > tracer register/unregister his tracepoints from these callbacks,
> > thus allocate some memory. But tracing_start/stop can be called
> > from atomic.
> >
> > I discussed about that with Steven on irc, and for now the v1
> > should be applied as a temporary solution. We plan to simplify
> > later the start/stop callbacks from each tracers that need it.
>
> ok. Steve, could you please pick v1 up?

Will do.

-- Steve

--
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/