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

From: Andrew Morton
Date: Wed May 02 2018 - 16:46:10 EST


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.