diff options
| author | 2009-05-13 09:45:19 +0200 | |
|---|---|---|
| committer | 2009-05-15 09:46:54 +0200 | |
| commit | ec3232bdf8518bea8410f0027f870b24d3aa8753 (patch) | |
| tree | 5aa20585dfec4053f92f5da5ae7488b13a8bebb4 /include/linux/debugobjects.h | |
| parent | perf record: Allow specifying a pid to record (diff) | |
perf_counter: x86: More accurate counter update
Take the counter width into account instead of assuming 32 bits.
In particular Nehalem has 44 bit wide counters, and all
arithmetics should happen on a 44-bit signed integer basis.
[ Impact: fix rare event imprecision, warning message on Nehalem ]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
