aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug25
1 files changed, 24 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 7dbd5d9c29a4..891155817bc6 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -50,6 +50,14 @@ config MAGIC_SYSRQ
50 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y 50 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
51 unless you really know what this hack does. 51 unless you really know what this hack does.
52 52
53config STRIP_ASM_SYMS
54 bool "Strip assembler-generated symbols during link"
55 default n
56 help
57 Strip internal assembler-generated symbols during a link (symbols
58 that look like '.Lxxx') so they don't pollute the output of
59 get_wchan() and suchlike.
60
53config UNUSED_SYMBOLS 61config UNUSED_SYMBOLS
54 bool "Enable unused/obsolete exported symbols" 62 bool "Enable unused/obsolete exported symbols"
55 default y if X86 63 default y if X86
@@ -338,7 +346,7 @@ config SLUB_STATS
338 346
339config DEBUG_KMEMLEAK 347config DEBUG_KMEMLEAK
340 bool "Kernel memory leak detector" 348 bool "Kernel memory leak detector"
341 depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM) && \ 349 depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM || PPC) && \
342 !MEMORY_HOTPLUG 350 !MEMORY_HOTPLUG
343 select DEBUG_FS if SYSFS 351 select DEBUG_FS if SYSFS
344 select STACKTRACE if STACKTRACE_SUPPORT 352 select STACKTRACE if STACKTRACE_SUPPORT
@@ -805,6 +813,21 @@ config DEBUG_BLOCK_EXT_DEVT
805 813
806 Say N if you are unsure. 814 Say N if you are unsure.
807 815
816config DEBUG_FORCE_WEAK_PER_CPU
817 bool "Force weak per-cpu definitions"
818 depends on DEBUG_KERNEL
819 help
820 s390 and alpha require percpu variables in modules to be
821 defined weak to work around addressing range issue which
822 puts the following two restrictions on percpu variable
823 definitions.
824
825 1. percpu symbols must be unique whether static or not
826 2. percpu variables can't be defined inside a function
827
828 To ensure that generic code follows the above rules, this
829 option forces all percpu variables to be defined as weak.
830
808config LKDTM 831config LKDTM
809 tristate "Linux Kernel Dump Test Tool Module" 832 tristate "Linux Kernel Dump Test Tool Module"
810 depends on DEBUG_KERNEL 833 depends on DEBUG_KERNEL