aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug19
1 files changed, 14 insertions, 5 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index d57b12f59c8c..a79c4d0407ab 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,8 +346,9 @@ 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 || PPC) && \ 349 depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
342 !MEMORY_HOTPLUG 350 (X86 || ARM || PPC || S390)
351
343 select DEBUG_FS if SYSFS 352 select DEBUG_FS if SYSFS
344 select STACKTRACE if STACKTRACE_SUPPORT 353 select STACKTRACE if STACKTRACE_SUPPORT
345 select KALLSYMS 354 select KALLSYMS
@@ -362,7 +371,7 @@ config DEBUG_KMEMLEAK
362config DEBUG_KMEMLEAK_EARLY_LOG_SIZE 371config DEBUG_KMEMLEAK_EARLY_LOG_SIZE
363 int "Maximum kmemleak early log entries" 372 int "Maximum kmemleak early log entries"
364 depends on DEBUG_KMEMLEAK 373 depends on DEBUG_KMEMLEAK
365 range 200 2000 374 range 200 40000
366 default 400 375 default 400
367 help 376 help
368 Kmemleak must track all the memory allocations to avoid 377 Kmemleak must track all the memory allocations to avoid
@@ -383,7 +392,7 @@ config DEBUG_KMEMLEAK_TEST
383 392
384config DEBUG_PREEMPT 393config DEBUG_PREEMPT
385 bool "Debug preemptible kernel" 394 bool "Debug preemptible kernel"
386 depends on DEBUG_KERNEL && PREEMPT && (TRACE_IRQFLAGS_SUPPORT || PPC64) 395 depends on DEBUG_KERNEL && PREEMPT && TRACE_IRQFLAGS_SUPPORT
387 default y 396 default y
388 help 397 help
389 If you say Y here then the kernel will use a debug variant of the 398 If you say Y here then the kernel will use a debug variant of the
@@ -741,7 +750,7 @@ config RCU_TORTURE_TEST_RUNNABLE
741config RCU_CPU_STALL_DETECTOR 750config RCU_CPU_STALL_DETECTOR
742 bool "Check for stalled CPUs delaying RCU grace periods" 751 bool "Check for stalled CPUs delaying RCU grace periods"
743 depends on TREE_RCU || TREE_PREEMPT_RCU 752 depends on TREE_RCU || TREE_PREEMPT_RCU
744 default n 753 default y
745 help 754 help
746 This option causes RCU to printk information on which 755 This option causes RCU to printk information on which
747 CPUs are delaying the current grace period, but only when 756 CPUs are delaying the current grace period, but only when