aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 640844024ffd..f3e0c2abcbd0 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -283,6 +283,17 @@ config LOCKDEP
283 select KALLSYMS 283 select KALLSYMS
284 select KALLSYMS_ALL 284 select KALLSYMS_ALL
285 285
286config LOCK_STAT
287 bool "Lock usage statisitics"
288 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
289 select LOCKDEP
290 select DEBUG_SPINLOCK
291 select DEBUG_MUTEXES
292 select DEBUG_LOCK_ALLOC
293 default n
294 help
295 This feature enables tracking lock contention points
296
286config DEBUG_LOCKDEP 297config DEBUG_LOCKDEP
287 bool "Lock dependency engine debugging" 298 bool "Lock dependency engine debugging"
288 depends on DEBUG_KERNEL && LOCKDEP 299 depends on DEBUG_KERNEL && LOCKDEP