Re: [RFC][PATCH] tracing: Print nasty banner when trace_printk() is in use
From: Steven Rostedt
Date: Wed May 28 2014 - 13:41:29 EST
On Wed, 28 May 2014 19:26:18 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:
> On Wed, May 28, 2014 at 01:14:40PM -0400, Steven Rostedt wrote:
> > Here's the banner:
> >
> > ****************************************
> > ** NOTICE NOTICE NOTICE NOTICE NOTICE **
> > ** trace_printk() being used. **
> > ** Allocating extra memory for it **
> > ****************************************
> >
> > Hmm, maybe I should add "Not for production use" to scare people even
> > more?
>
> Yes, and at least some swearing - this is the linux kernel for
> chrissake. Or are you gone soft too?
>
Going soft? Nah, you know me. I never swear, so how could not swearing
cause me to go soft :-)
Perhaps a:
*********************************************************
** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
** **
** trace_printk() being used. **
** Allocating extra memory for it **
** **
** This means that this is a DEBUG kernel and it is **
** unsafe for production use. **
** **
** If you see this message and you are not debugging **
** the kernel, report this immediately to your vendor! **
** **
** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
*********************************************************
Maybe that will work?
-- 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/