doc/tester-config: enable DEBUG_KERNEL, PROVE_RCU, DEBUG_ATOMIC_SLEEP
authorPauli Virtanen <pav@iki.fi>
Tue, 4 Jul 2023 17:06:51 +0000 (20:06 +0300)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
Add more lock/sleep debugging to the default tester config.

Enable DEBUG_KERNEL since olddefconfig won't enable PROVE_LOCKING
without it. Enable PROVE_RCU to also check RCU usage. Enable
DEBUG_ATOMIC_SLEEP to catch those as well.

doc/test-runner.txt
doc/tester.config

index 019c231..43ce42b 100755 (executable)
@@ -74,9 +74,12 @@ Lock debuging
 To catch locking related issues the following set of kernel config
 options may be useful:
 
+       CONFIG_DEBUG_KERNEL=y
        CONFIG_LOCKDEP_SUPPORT=y
        CONFIG_DEBUG_SPINLOCK=y
        CONFIG_DEBUG_LOCK_ALLOC=y
+       CONFIG_DEBUG_ATOMIC_SLEEP=y
        CONFIG_PROVE_LOCKING=y
+       CONFIG_PROVE_RCU=y
        CONFIG_LOCKDEP=y
        CONFIG_DEBUG_MUTEXES=y
index 4429a72..099eddc 100644 (file)
@@ -47,10 +47,13 @@ CONFIG_UNIX=y
 
 CONFIG_UHID=y
 
+CONFIG_DEBUG_KERNEL=y
 CONFIG_LOCKDEP_SUPPORT=y
 CONFIG_DEBUG_SPINLOCK=y
 CONFIG_DEBUG_LOCK_ALLOC=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y
 CONFIG_PROVE_LOCKING=y
+CONFIG_PROVE_RCU=y
 CONFIG_LOCKDEP=y
 CONFIG_DEBUG_MUTEXES=y
 CONFIG_KASAN=y