aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-02-09 12:49:47 -0800
committerNamhyung Kim <[email protected]>2024-02-13 13:48:09 -0800
commit6d6be5eb45b423a37d746d3ee0fd0c78f76ead9f (patch)
tree2c8de02ff28a0051f63815ffaba1a8129ec3f57b /tools/perf/scripts/python/bin
parent2543947c77e0e224bda86b4e7220c2f6714da463 (diff)
perf metric: Don't remove scale from counts
Counts were switched from the scaled saved value form to the aggregated count to avoid double accounting. When this happened the removing of scaling for a count should have been removed, however, it wasn't and this wasn't observed as it normally doesn't matter because a counter's scale is 1. A problem was observed with RAPL events that are scaled. Fixes: 37cc8ad77cf8 ("perf metric: Directly use counts rather than saved_value") Signed-off-by: Ian Rogers <[email protected]> Reviewed-by: Kan Liang <[email protected]> Cc: K Prateek Nayak <[email protected]> Cc: James Clark <[email protected]> Cc: Kaige Ye <[email protected]> Cc: John Garry <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions