diff options
author | 2010-01-27 23:07:49 +0100 | |
---|---|---|
committer | 2010-01-29 09:01:49 +0100 | |
commit | 18c01f8abff51e4910cc5ffb4b710e8c6eea60c9 (patch) | |
tree | 0d1430eeb579c21365db515c89edbf8871e1ecd7 /tools/perf/scripts/python | |
parent | perf_events, x86: Implement Intel Westmere support (diff) | |
download | wireguard-linux-18c01f8abff51e4910cc5ffb4b710e8c6eea60c9.tar.xz wireguard-linux-18c01f8abff51e4910cc5ffb4b710e8c6eea60c9.zip |
perf_events, x86: Remove spurious counter reset from x86_pmu_enable()
At enable time the counter might still have a ->idx pointing to
a previously occupied location that might now be taken by
another event. Resetting the counter at that location with data
from this event will destroy the other counter's count.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <20100127221122.261477183@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions