Re: [PATCH] tracing: add trace console
From: Peter Zijlstra
Date: Wed Nov 16 2011 - 09:50:55 EST
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.
--
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/