-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Hitoshi Mitake
authored and
Frederic Weisbecker
committed
Feb 27, 2010
1 parent
44ee635
commit 84c6f88
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
perf-lock(1) | ||
============ | ||
|
||
NAME | ||
---- | ||
perf-lock - Analyze lock events | ||
|
||
SYNOPSIS | ||
-------- | ||
[verse] | ||
'perf lock' {record|report|trace} | ||
|
||
DESCRIPTION | ||
----------- | ||
You can analyze various lock behaviours | ||
and statistics with this 'perf lock' command. | ||
|
||
'perf lock record <command>' records lock events | ||
between start and end <command>. And this command | ||
produces the file "perf.data" which contains tracing | ||
results of lock events. | ||
|
||
'perf lock trace' shows raw lock events. | ||
|
||
'perf lock report' reports statistical data. | ||
|
||
SEE ALSO | ||
-------- | ||
linkperf:perf[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters