diff options
author | Andrew Morton <akpm@osdl.org> | 2004-05-20 23:20:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-20 23:20:14 -0700 |
commit | 83804118c3e7927a7a0b5d29100f6e3aaeb0d69c (patch) | |
tree | c2c4a4e3a1402aac6c4196b9af1c4a5d26addcb2 /init | |
parent | c83cd7830ff8f40cd6402229b3df150816dbb6b5 (diff) | |
download | history-83804118c3e7927a7a0b5d29100f6e3aaeb0d69c.tar.gz |
[PATCH] Debugging option to put data symbols in kallsyms
From: Rusty Russell <rusty@rustcorp.com.au>
kallsyms contains only function names, but some debuggers (eg. xmon on
PPC/PPC64) use it to lookup symbols: it'd be much nicer if it included data
symbols too.
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 337feb1026ea09..9af3b9a3d0fc99 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -235,6 +235,17 @@ config KALLSYMS symbolic stack backtraces. This increases the size of the kernel somewhat, as all symbols have to be loaded into the kernel image. +config KALLSYMS_ALL + bool "Include all symbols in kallsyms" + depends on DEBUG_KERNEL && KALLSYMS + help + Normally kallsyms only contains the symbols of functions, for nicer + OOPS messages. Some debuggers can use kallsyms for other + symbols too: say Y here to include all symbols, and you + don't care about adding 300k to the size of your kernel. + + Say N. + config FUTEX bool "Enable futex support" if EMBEDDED default y |