diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index a314e663d517..7e70ab13e191 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -78,13 +78,17 @@ config SCHEDSTATS | |||
78 | this adds. | 78 | this adds. |
79 | 79 | ||
80 | config DEBUG_SLAB | 80 | config DEBUG_SLAB |
81 | bool "Debug memory allocations" | 81 | bool "Debug slab memory allocations" |
82 | depends on DEBUG_KERNEL && SLAB | 82 | depends on DEBUG_KERNEL && SLAB |
83 | help | 83 | help |
84 | Say Y here to have the kernel do limited verification on memory | 84 | Say Y here to have the kernel do limited verification on memory |
85 | allocation as well as poisoning memory on free to catch use of freed | 85 | allocation as well as poisoning memory on free to catch use of freed |
86 | memory. This can make kmalloc/kfree-intensive workloads much slower. | 86 | memory. This can make kmalloc/kfree-intensive workloads much slower. |
87 | 87 | ||
88 | config DEBUG_SLAB_LEAK | ||
89 | bool "Memory leak debugging" | ||
90 | depends on DEBUG_SLAB | ||
91 | |||
88 | config DEBUG_PREEMPT | 92 | config DEBUG_PREEMPT |
89 | bool "Debug preemptible kernel" | 93 | bool "Debug preemptible kernel" |
90 | depends on DEBUG_KERNEL && PREEMPT | 94 | depends on DEBUG_KERNEL && PREEMPT |
@@ -195,6 +199,16 @@ config FRAME_POINTER | |||
195 | some architectures or if you use external debuggers. | 199 | some architectures or if you use external debuggers. |
196 | If you don't debug the kernel, you can say N. | 200 | If you don't debug the kernel, you can say N. |
197 | 201 | ||
202 | config UNWIND_INFO | ||
203 | bool "Compile the kernel with frame unwind information" | ||
204 | depends on !IA64 | ||
205 | depends on !MODULES || !(MIPS || PARISC || PPC || SUPERH || SPARC64 || V850) | ||
206 | help | ||
207 | If you say Y here the resulting kernel image will be slightly larger | ||
208 | but not slower, and it will give very useful debugging information. | ||
209 | If you don't debug the kernel, you can say N, but we may not be able | ||
210 | to solve problems without frame unwind information or frame pointers. | ||
211 | |||
198 | config FORCED_INLINING | 212 | config FORCED_INLINING |
199 | bool "Force gcc to inline functions marked 'inline'" | 213 | bool "Force gcc to inline functions marked 'inline'" |
200 | depends on DEBUG_KERNEL | 214 | depends on DEBUG_KERNEL |