Kconfig.debug (39ceda5ce1b002e30563fcb8ad1bb5ac8e4d59ee) | Kconfig.debug (387b14684f94483cbbb72843db406ec9a8d0d6d2) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2menu "Kernel hacking" 3 4menu "printk and dmesg options" 5 6config PRINTK_TIME 7 bool "Show timing information on printks" 8 depends on PRINTK --- 1125 unchanged lines hidden (view full) --- 1134 kernel reports nothing. 1135 1136 NOTE: this feature can also be enabled for rwlocks, mutexes 1137 and rwsems - in which case all dependencies between these 1138 different locking variants are observed and mapped too, and 1139 the proof of observed correctness is also maintained for an 1140 arbitrary combination of these separate locking variants. 1141 | 1# SPDX-License-Identifier: GPL-2.0-only 2menu "Kernel hacking" 3 4menu "printk and dmesg options" 5 6config PRINTK_TIME 7 bool "Show timing information on printks" 8 depends on PRINTK --- 1125 unchanged lines hidden (view full) --- 1134 kernel reports nothing. 1135 1136 NOTE: this feature can also be enabled for rwlocks, mutexes 1137 and rwsems - in which case all dependencies between these 1138 different locking variants are observed and mapped too, and 1139 the proof of observed correctness is also maintained for an 1140 arbitrary combination of these separate locking variants. 1141 |
1142 For more details, see Documentation/locking/lockdep-design.txt. | 1142 For more details, see Documentation/locking/lockdep-design.rst. |
1143 1144config LOCK_STAT 1145 bool "Lock usage statistics" 1146 depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT 1147 select LOCKDEP 1148 select DEBUG_SPINLOCK 1149 select DEBUG_MUTEXES 1150 select DEBUG_RT_MUTEXES if RT_MUTEXES 1151 select DEBUG_LOCK_ALLOC 1152 default n 1153 help 1154 This feature enables tracking lock contention points 1155 | 1143 1144config LOCK_STAT 1145 bool "Lock usage statistics" 1146 depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT 1147 select LOCKDEP 1148 select DEBUG_SPINLOCK 1149 select DEBUG_MUTEXES 1150 select DEBUG_RT_MUTEXES if RT_MUTEXES 1151 select DEBUG_LOCK_ALLOC 1152 default n 1153 help 1154 This feature enables tracking lock contention points 1155 |
1156 For more details, see Documentation/locking/lockstat.txt | 1156 For more details, see Documentation/locking/lockstat.rst |
1157 1158 This also enables lock events required by "perf lock", 1159 subcommand of perf. 1160 If you want to use "perf lock", you also need to turn on 1161 CONFIG_EVENT_TRACING. 1162 1163 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. 1164 (CONFIG_LOCKDEP defines "acquire" and "release" events.) --- 985 unchanged lines hidden --- | 1157 1158 This also enables lock events required by "perf lock", 1159 subcommand of perf. 1160 If you want to use "perf lock", you also need to turn on 1161 CONFIG_EVENT_TRACING. 1162 1163 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. 1164 (CONFIG_LOCKDEP defines "acquire" and "release" events.) --- 985 unchanged lines hidden --- |