summaryrefslogtreecommitdiff
path: root/doc/test-runner.txt
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-07-09 13:42:44 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2015-07-09 13:42:44 +0300
commit9693a366c1038ef047507d6d652dfefc5ddec389 (patch)
tree4a81a5ff51c826bed64e73636b57c35cfc2282b1 /doc/test-runner.txt
parent66a85a319128b599c8ee66dec3bb1002b55aa938 (diff)
downloadbluez-9693a366c1038ef047507d6d652dfefc5ddec389.tar.gz
doc/test-runner: Mention useful locking kernel config options
Diffstat (limited to 'doc/test-runner.txt')
-rw-r--r--doc/test-runner.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/test-runner.txt b/doc/test-runner.txt
index 421cd22ed..72e17ceb1 100644
--- a/doc/test-runner.txt
+++ b/doc/test-runner.txt
@@ -39,3 +39,16 @@ followed by this command.
After that a default kernel with the required options can be built. More
option (like the Bluetooth subsystem) can be enabled on top of this.
+
+Lock debuging
+-------------
+
+To catch locking related issues the following set of kernel config
+options may be useful:
+
+ CONFIG_LOCKDEP_SUPPORT=y
+ CONFIG_DEBUG_SPINLOCK=y
+ CONFIG_DEBUG_LOCK_ALLOC=y
+ CONFIG_PROVE_LOCKING=y
+ CONFIG_LOCKDEP=y
+ CONFIG_DEBUG_MUTEXES=y