On Mon, 12 Aug 2013 11:34:05 +0200 Jiri Olsa <[email protected]> wrote:
> Adding initialization check in trace_printk for *puts > paths, plus unifying the check for all related cases. > > Cc: Steven Rostedt <[email protected]> > Cc: Frederic Weisbecker <[email protected]> > Cc: Ingo Molnar <[email protected]> > --- > kernel/trace/trace.c | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c > index 882ec1d..cb7cf96 100644 > --- a/kernel/trace/trace.c > +++ b/kernel/trace/trace.c > @@ -126,6 +126,9 @@ static char *default_bootup_tracer; > > static bool allocate_snapshot; > > +#define TRACE_PRINTK_DENIED \ s/TRACE_PRINTK_DENIED/TRACE_PRINTK_DISABLED/ -- Steve > + unlikely(tracing_selftest_running || tracing_disabled) > + > static int __init set_cmdline_ftrace(char *str) > { > strlcpy(bootup_tracer_buf, str, MAX_TRACER_SIZE); > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

