aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug31
1 files changed, 16 insertions, 15 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a314e663d517..d57fd9181b18 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -78,13 +78,17 @@ config SCHEDSTATS
78 this adds. 78 this adds.
79 79
80config DEBUG_SLAB 80config 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
88config DEBUG_SLAB_LEAK
89 bool "Memory leak debugging"
90 depends on DEBUG_SLAB
91
88config DEBUG_PREEMPT 92config DEBUG_PREEMPT
89 bool "Debug preemptible kernel" 93 bool "Debug preemptible kernel"
90 depends on DEBUG_KERNEL && PREEMPT 94 depends on DEBUG_KERNEL && PREEMPT
@@ -153,22 +157,9 @@ config DEBUG_INFO
153 157
154 If unsure, say N. 158 If unsure, say N.
155 159
156config DEBUG_IOREMAP
157 bool "Enable ioremap() debugging"
158 depends on DEBUG_KERNEL && PARISC
159 help
160 Enabling this option will cause the kernel to distinguish between
161 ioremapped and physical addresses. It will print a backtrace (at
162 most one every 10 seconds), hopefully allowing you to see which
163 drivers need work. Fixing all these problems is a prerequisite
164 for turning on USE_HPPA_IOREMAP. The warnings are harmless;
165 the kernel has enough information to fix the broken drivers
166 automatically, but we'd like to make it more efficient by not
167 having to do that.
168
169config DEBUG_FS 160config DEBUG_FS
170 bool "Debug Filesystem" 161 bool "Debug Filesystem"
171 depends on DEBUG_KERNEL && SYSFS 162 depends on SYSFS
172 help 163 help
173 debugfs is a virtual file system that kernel developers use to put 164 debugfs is a virtual file system that kernel developers use to put
174 debugging files into. Enable this option to be able to read and 165 debugging files into. Enable this option to be able to read and
@@ -195,6 +186,16 @@ config FRAME_POINTER
195 some architectures or if you use external debuggers. 186 some architectures or if you use external debuggers.
196 If you don't debug the kernel, you can say N. 187 If you don't debug the kernel, you can say N.
197 188
189config UNWIND_INFO
190 bool "Compile the kernel with frame unwind information"
191 depends on !IA64
192 depends on !MODULES || !(MIPS || PARISC || PPC || SUPERH || SPARC64 || V850)
193 help
194 If you say Y here the resulting kernel image will be slightly larger
195 but not slower, and it will give very useful debugging information.
196 If you don't debug the kernel, you can say N, but we may not be able
197 to solve problems without frame unwind information or frame pointers.
198
198config FORCED_INLINING 199config FORCED_INLINING
199 bool "Force gcc to inline functions marked 'inline'" 200 bool "Force gcc to inline functions marked 'inline'"
200 depends on DEBUG_KERNEL 201 depends on DEBUG_KERNEL