summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr@hp.com>2013-09-08 19:19:19 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-10-09 11:24:01 -0300
commitf37376cd721a539ac398cbb7718b72fce83cd49b (patch)
tree2af484293bd583c2af6ed313011fa2592259b89e /tools/perf/builtin-top.c
parent60a25cbc4a167fc0129296c3c640d8506a57acc5 (diff)
downloadop-kernel-dev-f37376cd721a539ac398cbb7718b72fce83cd49b.zip
op-kernel-dev-f37376cd721a539ac398cbb7718b72fce83cd49b.tar.gz
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 <davidlohr@hp.com> Cc: Aswin Chandramouleeswaran <aswin@hp.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1378693159-8747-8-git-send-email-davidlohr@hp.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud