summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2012-04-02 18:19:18 (GMT)
committerIngo Molnar <mingo@kernel.org>2012-05-09 13:23:17 (GMT)
commit8b1e13638d465863572c8207a5cfceeef0cf0441 (patch)
tree3e0a5558edd80741a6994df1d8a432d1a3be0628 /lib
parentfc5fb2b5e1874e5894e2ac503bfb744220db89a1 (diff)
downloadlinux-fsl-qoriq-8b1e13638d465863572c8207a5cfceeef0cf0441.tar.xz
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 <robert.richter@amd.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1333390758-10893-13-git-send-email-robert.richter@amd.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions