lkml.org 
[lkml]   [2014]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] tracing: Print nasty banner when trace_printk() is in use
On Wed, 28 May 2014 19:26:18 +0200
Borislav Petkov <bp@alien8.de> 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


\
 
 \ /
  Last update: 2014-05-28 20:21    [W:0.045 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site