group locking debugging options
Original posting: http://lkml.kernel.org/r/20121214184208.D9E5804D@kernel.stglabs.ibm.com There are quite a few of these, and we want to make sure that there is one-stop-shopping for lock debugging. Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6dfc06651b
commit
9eade16b41
1 changed files with 10 additions and 6 deletions
|
@ -703,6 +703,8 @@ config DEBUG_PREEMPT
|
||||||
if kernel code uses it in a preemption-unsafe way. Also, the kernel
|
if kernel code uses it in a preemption-unsafe way. Also, the kernel
|
||||||
will detect preemption count underflows.
|
will detect preemption count underflows.
|
||||||
|
|
||||||
|
menu "Lock Debugging (spinlocks, mutexes, etc...)"
|
||||||
|
|
||||||
config DEBUG_RT_MUTEXES
|
config DEBUG_RT_MUTEXES
|
||||||
bool "RT Mutex debugging, deadlock detection"
|
bool "RT Mutex debugging, deadlock detection"
|
||||||
depends on DEBUG_KERNEL && RT_MUTEXES
|
depends on DEBUG_KERNEL && RT_MUTEXES
|
||||||
|
@ -832,12 +834,6 @@ config DEBUG_LOCKDEP
|
||||||
additional runtime checks to debug itself, at the price
|
additional runtime checks to debug itself, at the price
|
||||||
of more runtime overhead.
|
of more runtime overhead.
|
||||||
|
|
||||||
config TRACE_IRQFLAGS
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
Enables hooks to interrupt enabling and disabling for
|
|
||||||
either tracing or lock debugging.
|
|
||||||
|
|
||||||
config DEBUG_ATOMIC_SLEEP
|
config DEBUG_ATOMIC_SLEEP
|
||||||
bool "Sleep inside atomic section checking"
|
bool "Sleep inside atomic section checking"
|
||||||
select PREEMPT_COUNT
|
select PREEMPT_COUNT
|
||||||
|
@ -859,6 +855,14 @@ config DEBUG_LOCKING_API_SELFTESTS
|
||||||
The following locking APIs are covered: spinlocks, rwlocks,
|
The following locking APIs are covered: spinlocks, rwlocks,
|
||||||
mutexes and rwsems.
|
mutexes and rwsems.
|
||||||
|
|
||||||
|
endmenu # lock debugging
|
||||||
|
|
||||||
|
config TRACE_IRQFLAGS
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Enables hooks to interrupt enabling and disabling for
|
||||||
|
either tracing or lock debugging.
|
||||||
|
|
||||||
config STACKTRACE
|
config STACKTRACE
|
||||||
bool
|
bool
|
||||||
depends on STACKTRACE_SUPPORT
|
depends on STACKTRACE_SUPPORT
|
||||||
|
|
Loading…
Reference in a new issue