perf stat: Always correctly indent ratio column
authorAndi Kleen <ak@linux.intel.com>
Wed, 11 Mar 2015 15:28:02 +0000 (08:28 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 13 Mar 2015 10:47:44 +0000 (07:47 -0300)
commit7910352852f377f6d12286f922299d7ad1cfb2e3
treecad68cf241a918bf957c78c3566c0279f8263d18
parent56f0fd45d8df51542930b9b2e1acee5034b53479
perf stat: Always correctly indent ratio column

When cycles or instructions do not print anything, as in being,
--per-socket or --per-core modi, the ratio column was not correctly
indented for them. This lead to some ratios not lining up with the
others. Always indent correctly when nothing is printed.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1426087682-22765-3-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
This page took 0.029144 seconds and 5 git commands to generate.