Actions
Bug #1037
closedInvalid offset value in Perf PMU counters sampling on x86
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
07/05/2016
Due date:
% Done:
0%
Estimated time:
Description
The value output by the perf PMU contexts is abnormally high when using the rdpmc instruction on x86.
The source of this high value seems to be related to the pc->offset handling.
When removing the "+ pc->offset", the value read from rdpmc matches the one read with the read() syscall.
example values:
rdpmc + offset: 281474976933816
read(): 223160
Actions