diff options
author | Andi Kleen <ak@linux.intel.com> | 2016-05-06 01:04:04 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-05-09 18:42:09 +0200 |
commit | f340c5fc93bda334efd9f2b5855ef0d3746e1564 (patch) | |
tree | 8ec154bf1f61e1d829404bfe750634c5b36e5a26 /Kbuild | |
parent | perf callchain: Recording 'dwarf' callchains do not need DWARF unwinding support (diff) | |
download | linux-f340c5fc93bda334efd9f2b5855ef0d3746e1564.tar.xz linux-f340c5fc93bda334efd9f2b5855ef0d3746e1564.zip |
perf stat: Scale values by unit before metrics
Scale values by unit before passing them to the metrics printing
functions. This is needed for TopDown, because it needs to scale the
slots correctly by pipeline width / SMTness.
For existing metrics it shouldn't make any difference, as those
generally use events that don't have any units.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1462489447-31832-8-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions