[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1402031358390.9768@chino.kir.corp.google.com>
Date: Mon, 3 Feb 2014 14:00:00 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Borislav Petkov <bp@...en8.de>
cc: LKML <linux-kernel@...r.kernel.org>, X86 ML <x86@...nel.org>,
Richard Weinberger <richard@....at>,
Borislav Petkov <bp@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] Clarify CONFIG_DEBUG_INFO's bloaty nature
On Mon, 3 Feb 2014, Borislav Petkov wrote:
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index dbf94a7d25a8..9095c2078095 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -126,7 +126,11 @@ config DEBUG_INFO
> This adds debug symbols to the kernel and modules (gcc -g), and
> is needed if you intend to use kernel crashdump or binary object
> tools like crash, kgdb, LKCD, gdb, etc on the kernel.
> - Say Y here only if you plan to debug the kernel.
> +
> + If you only want to have resolved symbols in kernel traces and
> + are not going to need support for those tools above, you don't need
> + to enable this as it is a huge bloat and build slowdown;
How do you define "huge bloat" if the size of vmlinux doesn't increase?
Would some people consider that to be acceptable but now mysteriously
confused because we don't know what "huge bloat" you're referring to?
It also begs the question about the meaning of DEBUG_INFO_REDUCED and this
comment doesn't even allow us to see that it's an option.
So this doesn't look good.
> + enable CONFIG_KALLSYMS instead.
>
> If unsure, say N.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists