aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 8bab0102ac73..e4fcbd12cf6e 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -23,6 +23,22 @@ config MAGIC_SYSRQ
23 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y 23 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
24 unless you really know what this hack does. 24 unless you really know what this hack does.
25 25
26config UNUSED_SYMBOLS
27 bool "Enable unused/obsolete exported symbols"
28 default y if X86
29 help
30 Unused but exported symbols make the kernel needlessly bigger. For
31 that reason most of these unused exports will soon be removed. This
32 option is provided temporarily to provide a transition period in case
33 some external kernel module needs one of these symbols anyway. If you
34 encounter such a case in your module, consider if you are actually
35 using the right API. (rationale: since nobody in the kernel is using
36 this in a module, there is a pretty good chance it's actually the
37 wrong interface to use). If you really need the symbol, please send a
38 mail to the linux kernel mailing list mentioning the symbol and why
39 you really need it, and what the merge plan to the mainline kernel for
40 your module is.
41
26config DEBUG_KERNEL 42config DEBUG_KERNEL
27 bool "Kernel debugging" 43 bool "Kernel debugging"
28 help 44 help
@@ -107,6 +123,24 @@ config DEBUG_MUTEXES
107 This allows mutex semantics violations and mutex related deadlocks 123 This allows mutex semantics violations and mutex related deadlocks
108 (lockups) to be detected and reported automatically. 124 (lockups) to be detected and reported automatically.
109 125
126config DEBUG_RT_MUTEXES
127 bool "RT Mutex debugging, deadlock detection"
128 depends on DEBUG_KERNEL && RT_MUTEXES
129 help
130 This allows rt mutex semantics violations and rt mutex related
131 deadlocks (lockups) to be detected and reported automatically.
132
133config DEBUG_PI_LIST
134 bool
135 default y
136 depends on DEBUG_RT_MUTEXES
137
138config RT_MUTEX_TESTER
139 bool "Built-in scriptable tester for rt-mutexes"
140 depends on DEBUG_KERNEL && RT_MUTEXES
141 help
142 This option enables a rt-mutex tester.
143
110config DEBUG_SPINLOCK 144config DEBUG_SPINLOCK
111 bool "Spinlock debugging" 145 bool "Spinlock debugging"
112 depends on DEBUG_KERNEL 146 depends on DEBUG_KERNEL