summaryrefslogtreecommitdiff
path: root/tools/perf/config/Makefile
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2015-07-28 02:24:51 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-07-28 18:05:04 +0300
commit5497628576a3c5f3dbab224fa5a5d027f43d8b50 (patch)
tree0f685d26efea9d14f74815e9cf2a4e7b80becdd1 /tools/perf/config/Makefile
parent00a2916f7f82c348a2a94dbb572874173bc308a3 (diff)
downloadlinux-5497628576a3c5f3dbab224fa5a5d027f43d8b50.tar.xz
perf stat: Fix transaction lenght metrics
The transaction length metrics in perf stat -T broke recently. It would not match the metric correctly and always print K/sec. This was caused by a incorrect update of the cycles_in_tx statistics. Update the correct variable. Also the check for zero division was reversed, which resulted in K/sec being printed for no transactions. Fix this also up. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/1438039491-22091-1-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config/Makefile')
0 files changed, 0 insertions, 0 deletions