From 9693a366c1038ef047507d6d652dfefc5ddec389 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 9 Jul 2015 13:42:44 +0300 Subject: [PATCH] doc/test-runner: Mention useful locking kernel config options --- doc/test-runner.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.47.3