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 b520ec1f33c5..8e5ec5e1ab91 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -532,6 +532,14 @@ config LOCK_STAT | |||
532 | 532 | ||
533 | For more details, see Documentation/lockstat.txt | 533 | For more details, see Documentation/lockstat.txt |
534 | 534 | ||
535 | This also enables lock events required by "perf lock", | ||
536 | subcommand of perf. | ||
537 | If you want to use "perf lock", you also need to turn on | ||
538 | CONFIG_EVENT_TRACING. | ||
539 | |||
540 | CONFIG_LOCK_STAT defines "contended" and "acquired" lock events. | ||
541 | (CONFIG_LOCKDEP defines "acquire" and "release" events.) | ||
542 | |||
535 | config DEBUG_LOCKDEP | 543 | config DEBUG_LOCKDEP |
536 | bool "Lock dependency engine debugging" | 544 | bool "Lock dependency engine debugging" |
537 | depends on DEBUG_KERNEL && LOCKDEP | 545 | depends on DEBUG_KERNEL && LOCKDEP |