diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d57b12f59c8c..30df5865ecbe 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 | ||
| 53 | config 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 | |||
| 53 | config UNUSED_SYMBOLS | 61 | config 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 | ||
| 339 | config DEBUG_KMEMLEAK | 347 | config 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 | |||
| 362 | config DEBUG_KMEMLEAK_EARLY_LOG_SIZE | 371 | config 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 |
