aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThomas Richter <[email protected]>2024-01-26 13:32:03 +0100
committerHeiko Carstens <[email protected]>2024-02-20 14:37:32 +0100
commit82cb9b618531109824eb8e25b6a3da28d33178ac (patch)
treecc695ff65ef627df733195c6e2ba5de0a4388dac /tools/perf/scripts/python/bin
parentfe861b0c8d0693cb65fd45b7e8c756937b5182ae (diff)
s390/pai: simplify event start function for perf stat
When an event is started, read the current value of the PAI counter. This value is saved in event::hw.prev_count. When an event is stopped, this value is subtracted from the current value read out at event stop time. The difference is the delta of this counter. Simplify the logic and read the event value every time the event is started. This scheme is identical to other device drivers. Signed-off-by: Thomas Richter <[email protected]> Acked-by: Sumanth Korikkar <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions