diff options
author | Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> | 2010-02-04 02:08:15 -0500 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-02-27 11:05:22 -0500 |
commit | 84c6f88fc8265d7a712d7d6ed8fc1a878dfc84d1 (patch) | |
tree | 4f5b0cf3357b2afbc41fa257e524d62b04cd392e /lib/Kconfig.debug | |
parent | 44ee63587dce85593c22497140db16f4e5027860 (diff) |
perf lock: Fix and add misc documentally things
I've forgot to add 'perf lock' line to command-list.txt,
so users of perf could not find perf lock when they type 'perf'.
Fixing command-list.txt requires document
(tools/perf/Documentation/perf-lock.txt).
But perf lock is too much "under construction" to write a
stable document, so this is something like pseudo document for now.
And I wrote description of perf lock at help section of
CONFIG_LOCK_STAT, this will navigate users of lock trace events.
Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
LKML-Reference: <1265267295-8388-1-git-send-email-mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'lib/Kconfig.debug')
-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 |