Commit 9826e832 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Arnaldo Carvalho de Melo

perf lock: Document valid sort keys

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20110222205312.GA18474@joi.lan>
Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 6435a5e3
...@@ -24,8 +24,8 @@ and statistics with this 'perf lock' command. ...@@ -24,8 +24,8 @@ and statistics with this 'perf lock' command.
'perf lock report' reports statistical data. 'perf lock report' reports statistical data.
OPTIONS COMMON OPTIONS
------- --------------
-i:: -i::
--input=<file>:: --input=<file>::
...@@ -39,6 +39,14 @@ OPTIONS ...@@ -39,6 +39,14 @@ OPTIONS
--dump-raw-trace:: --dump-raw-trace::
Dump raw trace in ASCII. Dump raw trace in ASCII.
REPORT OPTIONS
--------------
-k::
--key=<value>::
Sorting key. Possible values: acquired (default), contended,
wait_total, wait_max, wait_min.
SEE ALSO SEE ALSO
-------- --------
linkperf:perf[1] linkperf:perf[1]
...@@ -893,7 +893,7 @@ static const char * const report_usage[] = { ...@@ -893,7 +893,7 @@ static const char * const report_usage[] = {
static const struct option report_options[] = { static const struct option report_options[] = {
OPT_STRING('k', "key", &sort_key, "acquired", OPT_STRING('k', "key", &sort_key, "acquired",
"key for sorting"), "key for sorting (acquired / contended / wait_total / wait_max / wait_min)"),
/* TODO: type */ /* TODO: type */
OPT_END() OPT_END()
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment