aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2016-05-05 16:04:04 -0700
committerArnaldo Carvalho de Melo <[email protected]>2016-05-09 13:42:09 -0300
commitf340c5fc93bda334efd9f2b5855ef0d3746e1564 (patch)
tree8ec154bf1f61e1d829404bfe750634c5b36e5a26 /tools/perf/util/scripting-engines/trace-event-python.c
parent841e3558b2de6d8c53dae4f01c7a81cd53e42e5c (diff)
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