diff options
author | Will Deacon <[email protected]> | 2011-04-05 14:01:24 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2011-04-10 21:13:35 +0100 |
commit | 6759788b944139793bffa889761cc3d8d703fdc0 (patch) | |
tree | ac97143a319067bb8d5929d83f34df646d703189 /lib/memory-notifier-error-inject.c | |
parent | e89c0d7090c54d7b11b9b091e495a1ae345dd3ff (diff) |
ARM: 6865/1: perf: ensure pass through zero is counted on overflow
Commit a737823d ("ARM: perf: ensure overflows aren't missed due to IRQ
latency") changed the way that event deltas are calculated on overflow
so that we don't miss events when the new count value overtakes the
previous one.
Unfortunately, we forget to count the event that passes through zero so
we end up being off by 1. This patch adds on the correction.
Reported-by: Chris Moore <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions