aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug30
1 files changed, 28 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index ccb0c1fdf1b5..5330911ebd30 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -107,6 +107,24 @@ config DEBUG_MUTEXES
107 This allows mutex semantics violations and mutex related deadlocks 107 This allows mutex semantics violations and mutex related deadlocks
108 (lockups) to be detected and reported automatically. 108 (lockups) to be detected and reported automatically.
109 109
110config DEBUG_RT_MUTEXES
111 bool "RT Mutex debugging, deadlock detection"
112 depends on DEBUG_KERNEL && RT_MUTEXES
113 help
114 This allows rt mutex semantics violations and rt mutex related
115 deadlocks (lockups) to be detected and reported automatically.
116
117config DEBUG_PI_LIST
118 bool
119 default y
120 depends on DEBUG_RT_MUTEXES
121
122config RT_MUTEX_TESTER
123 bool "Built-in scriptable tester for rt-mutexes"
124 depends on DEBUG_KERNEL && RT_MUTEXES
125 help
126 This option enables a rt-mutex tester.
127
110config DEBUG_SPINLOCK 128config DEBUG_SPINLOCK
111 bool "Spinlock debugging" 129 bool "Spinlock debugging"
112 depends on DEBUG_KERNEL 130 depends on DEBUG_KERNEL
@@ -188,14 +206,22 @@ config FRAME_POINTER
188 206
189config UNWIND_INFO 207config UNWIND_INFO
190 bool "Compile the kernel with frame unwind information" 208 bool "Compile the kernel with frame unwind information"
191 depends on !IA64 209 depends on !IA64 && !PARISC
192 depends on !MODULES || !(MIPS || PARISC || PPC || SUPERH || V850) 210 depends on !MODULES || !(MIPS || PPC || SUPERH || V850)
193 help 211 help
194 If you say Y here the resulting kernel image will be slightly larger 212 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. 213 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 214 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. 215 to solve problems without frame unwind information or frame pointers.
198 216
217config STACK_UNWIND
218 bool "Stack unwind support"
219 depends on UNWIND_INFO
220 depends on X86
221 help
222 This enables more precise stack traces, omitting all unrelated
223 occurrences of pointers into kernel code from the dump.
224
199config FORCED_INLINING 225config FORCED_INLINING
200 bool "Force gcc to inline functions marked 'inline'" 226 bool "Force gcc to inline functions marked 'inline'"
201 depends on DEBUG_KERNEL 227 depends on DEBUG_KERNEL