Re: [PATCH] tracing: add trace console

From: Peter Zijlstra
Date: Wed Nov 16 2011 - 09:42:00 EST


On Wed, 2011-11-16 at 15:30 +0100, Johannes Berg wrote:
> > > > +config TRACE_CONSOLE
> > > > + tristate "Support for a tracing console"
> > > > + help
> > > > + Say M (or Y if you must, but this is not recommended)
> >
> > Why not?
>
> 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.

OK, so maybe expand that help text a little to avoid the obvious
question ;-)
--
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/