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