aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2016-05-05 23:04:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-05-09 16:42:09 +0000
commitf340c5fc93bda334efd9f2b5855ef0d3746e1564 (patch)
tree8ec154bf1f61e1d829404bfe750634c5b36e5a26 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf callchain: Recording 'dwarf' callchains do not need DWARF unwinding support (diff)
downloadkernel-f340c5fc93bda334efd9f2b5855ef0d3746e1564.tar.gz
kernel-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 <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions