Re: [PATCH v2 4/5] kernel hacking: new config DEBUG_EXPERIENCE to apply GCC -Og optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 May 2018 13:45:58 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 2 May 2018 10:17:07 -0400 Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> 
> > > Comparison of vmlinux size: a bit smaller.
> > > 
> > >     w/o CONFIG_DEBUG_EXPERIENCE  
> > 
> > I hate the config name.
> > 
> > I probably can't come up with better ones but let's try:
> > 
> >  CONFIG_DEBUG_OPTIMIZE ?
> >  CONFIG_OPTIMIZE_DEBUG ?
> > 
> > But "EXPERIENCE" sounds like I'm on some DEBUG LSD.  
> 
> Metoo, but the gcc people decided on "-Og: Optimize debugging
> experience ..." and I think there are benefits if the kernel is to
> align the naming with that.

I still see that as "Optimize debugging" and "experience" is just the
platform of what was done.

With that gcc comment, I still think CONFIG_OPTIMIZE_DEBUG is more
inline with what it is and understandable than
CONFIG_DEBUG_EXPERIENCE. The "OPTIMIZE" is the key word there.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux