Commit f3eee922 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] make CONFIG_KALLSYMS default to "on"

From: Diego Calleja Garcia <diegocg@teleline.es>

Move CONFIG_KALLSYMS out of the arch directory and into init/.

It defaults to "on" unless the user explicitly turns it off in the
"embedded systems" menu.
parent 9f1ed86f
...@@ -1061,14 +1061,6 @@ config DEBUG_ERRORS ...@@ -1061,14 +1061,6 @@ config DEBUG_ERRORS
you are concerned with the code size or don't want to see these you are concerned with the code size or don't want to see these
messages. messages.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
depends on DEBUG_KERNEL
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
# These options are only for real kernel hackers who want to get their hands dirty. # These options are only for real kernel hackers who want to get their hands dirty.
config DEBUG_LL config DEBUG_LL
bool "Kernel low-level debugging functions" bool "Kernel low-level debugging functions"
......
...@@ -391,14 +391,6 @@ config DEBUG_ERRORS ...@@ -391,14 +391,6 @@ config DEBUG_ERRORS
you are concerned with the code size or don't want to see these you are concerned with the code size or don't want to see these
messages. messages.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
depends on DEBUG_KERNEL
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
# These options are only for real kernel hackers who want to get their hands dirty. # These options are only for real kernel hackers who want to get their hands dirty.
config DEBUG_LL config DEBUG_LL
bool "Kernel low-level debugging functions" bool "Kernel low-level debugging functions"
......
...@@ -1354,13 +1354,6 @@ config DEBUG_HIGHMEM ...@@ -1354,13 +1354,6 @@ config DEBUG_HIGHMEM
This options enables addition error checking for high memory systems. This options enables addition error checking for high memory systems.
Disable for production systems. Disable for production systems.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
config DEBUG_SPINLOCK_SLEEP config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking" bool "Sleep-inside-spinlock checking"
help help
......
...@@ -667,14 +667,6 @@ config DEBUG_KERNEL ...@@ -667,14 +667,6 @@ config DEBUG_KERNEL
Say Y here if you are developing drivers or trying to debug and Say Y here if you are developing drivers or trying to debug and
identify kernel problems. identify kernel problems.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
depends on DEBUG_KERNEL
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
config IA64_PRINT_HAZARDS config IA64_PRINT_HAZARDS
bool "Print possible IA-64 dependency violations to console" bool "Print possible IA-64 dependency violations to console"
depends on DEBUG_KERNEL depends on DEBUG_KERNEL
......
...@@ -287,13 +287,6 @@ config MAGIC_SYSRQ ...@@ -287,13 +287,6 @@ config MAGIC_SYSRQ
keys are documented in <file:Documentation/sysrq.txt>. Don't say Y keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
unless you really know what this hack does. unless you really know what this hack does.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
config FRAME_POINTER config FRAME_POINTER
bool "Compile the kernel with frame pointers" bool "Compile the kernel with frame pointers"
help help
......
...@@ -1449,13 +1449,6 @@ config DEBUG_HIGHMEM ...@@ -1449,13 +1449,6 @@ config DEBUG_HIGHMEM
This options enables additional error checking for high memory This options enables additional error checking for high memory
systems. Disable for production systems. systems. Disable for production systems.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
config DEBUG_SPINLOCK_SLEEP config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking" bool "Sleep-inside-spinlock checking"
depends on DEBUG_KERNEL depends on DEBUG_KERNEL
......
...@@ -540,13 +540,6 @@ config INIT_DEBUG ...@@ -540,13 +540,6 @@ config INIT_DEBUG
Fill __init and __initdata at the end of boot. This helps debugging Fill __init and __initdata at the end of boot. This helps debugging
illegal uses of __init and __initdata after initialization. illegal uses of __init and __initdata after initialization.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops"
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
config FRAME_POINTER config FRAME_POINTER
bool "Compile the kernel with frame pointers" bool "Compile the kernel with frame pointers"
help help
......
...@@ -118,6 +118,14 @@ menuconfig EMBEDDED ...@@ -118,6 +118,14 @@ menuconfig EMBEDDED
a "non-standard" kernel. Only use this if you really know what you a "non-standard" kernel. Only use this if you really know what you
are doing. are doing.
config KALLSYMS
bool "Load all symbols for debugging/kksymoops" if EMBEDDED
default y
help
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
config FUTEX config FUTEX
bool "Enable futex support" if EMBEDDED bool "Enable futex support" if EMBEDDED
default y default y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment