[PATCH] enable CONFIG_KALLSYMS_ALL unconditionally after allnoconfig

From: Olaf Hering
Date: Sun May 28 2006 - 17:11:17 EST



CONFIG_KALLSYMS_ALL is disabled after these commands:

rm -rf ../foo-$$
mkdir ../foo-$$
make -j ARCH=powerpc O=../foo-$$ allnoconfig > /dev/null
grep KALLSYMS ../foo-$$/.config
make -j ARCH=powerpc O=../foo-$$ menuconfig
# 'Kernel hacking ---> ' , enable 'Kernel debugging '
grep KALLSYMS ../foo-$$/.config

enabled it along with CONFIG_KALLSYMS, because CONFIG_KALLSYMS is not selectable per default
xmon can not lookup all symbols without CONFIG_KALLSYMS_ALL,
'ls log_buf' will not work as example.

Signed-off-by: Olaf Hering <olh@xxxxxxx>

---
init/Kconfig | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6/init/Kconfig
===================================================================
--- linux-2.6.orig/init/Kconfig
+++ linux-2.6/init/Kconfig
@@ -276,6 +276,7 @@ config KALLSYMS
config KALLSYMS_ALL
bool "Include all symbols in kallsyms"
depends on DEBUG_KERNEL && KALLSYMS
+ default y
help
Normally kallsyms only contains the symbols of functions, for nicer
OOPS messages. Some debuggers can use kallsyms for other
-
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/