aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2012-04-02 20:19:18 +0200
committerIngo Molnar <[email protected]>2012-05-09 15:23:17 +0200
commit8b1e13638d465863572c8207a5cfceeef0cf0441 (patch)
tree3e0a5558edd80741a6994df1d8a432d1a3be0628 /tools/perf/util/scripting-engines/trace-event-python.c
parentfc5fb2b5e1874e5894e2ac503bfb744220db89a1 (diff)
perf/x86-ibs: Fix usage of IBS op current count
The value of IbsOpCurCnt rolls over when it reaches IbsOpMaxCnt. Thus, it is reset to zero by hardware. To get the correct count we need to add the max count to it in case we received an ibs sample (valid bit set). Signed-off-by: Robert Richter <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions