Re: [PATCH] tracing: add trace console

Peter Zijlstra
2011-11-16T14:50:56Z

On Wed, 2011-11-16 at 09:48 -0500, Steven Rostedt wrote:

> > It'll always be registered and you have no way to turn it off then, so
> > you can't trace without getting every printk. I didn't want to add extra
> > API to toggle it, but building it in might be a bit odd that way.
>
> Actually, that's not quite true. You could just do:
>
> echo 0 > /debug/tracing/options/trace_printk

well, that'll kill all trace_printk()s, which isn't what johill meant.