From: Davidlohr Bueso Date: Mon, 9 Sep 2013 02:19:19 +0000 (-0700) Subject: perf lock: Account for lock average wait time X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37376cd721a539ac398cbb7718b72fce83cd49b;p=pandora-kernel.git 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: http://lkml.kernel.org/r/1378693159-8747-8-git-send-email-davidlohr@hp.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed