diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 25c3ed594c54..65f964e7fe78 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -520,6 +520,12 @@ config LOCK_STAT | |||
520 | 520 | ||
521 | For more details, see Documentation/lockstat.txt | 521 | For more details, see Documentation/lockstat.txt |
522 | 522 | ||
523 | You can analyze lock events with "perf lock", subcommand of perf. | ||
524 | If you want to use "perf lock", you need to turn on CONFIG_EVENT_TRACING. | ||
525 | |||
526 | CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. | ||
527 | (CONFIG_LOCKDEP defines "acquire" and "release" events.) | ||
528 | |||
523 | config DEBUG_LOCKDEP | 529 | config DEBUG_LOCKDEP |
524 | bool "Lock dependency engine debugging" | 530 | bool "Lock dependency engine debugging" |
525 | depends on DEBUG_KERNEL && LOCKDEP | 531 | depends on DEBUG_KERNEL && LOCKDEP |