path: root/tools/perf/Documentation
diff options
authorDavidlohr Bueso <>2013-09-08 19:19:19 -0700
committerArnaldo Carvalho de Melo <>2013-10-09 11:24:01 -0300
commitf37376cd721a539ac398cbb7718b72fce83cd49b (patch)
tree2af484293bd583c2af6ed313011fa2592259b89e /tools/perf/Documentation
parent60a25cbc4a167fc0129296c3c640d8506a57acc5 (diff)
perf lock: Account for lock average wait time
While perf-lock currently reports both the total wait time and the number of contentions, it doesn't explicitly show the average wait time. Having this value immediately in the report can be quite useful when looking into performance issues. Furthermore, allowing report to sort by averages is another handy feature to have - and thus do not only print the value, but add it to the lock_stat structure. Signed-off-by: Davidlohr Bueso <> Cc: Aswin Chandramouleeswaran <> Cc: Frederic Weisbecker <> Cc: Hitoshi Mitake <> Cc: Ingo Molnar <> Cc: Peter Zijlstra <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/Documentation')
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf-lock.txt b/tools/perf/Documentation/perf-lock.txt
index c7f5f55634ac..ab25be28c9dc 100644
--- a/tools/perf/Documentation/perf-lock.txt
+++ b/tools/perf/Documentation/perf-lock.txt
@@ -48,7 +48,7 @@ REPORT OPTIONS
Sorting key. Possible values: acquired (default), contended,
- wait_total, wait_max, wait_min.
+ avg_wait, wait_total, wait_max, wait_min.