From: Peter Zijlstra Date: Wed, 27 Jan 2010 22:07:49 +0000 (+0100) Subject: perf_events, x86: Remove spurious counter reset from x86_pmu_enable() X-Git-Tag: v2.6.34-rc1~197^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c01f8abff51e4910cc5ffb4b710e8c6eea60c9;p=pandora-kernel.git 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 Cc: Stephane Eranian LKML-Reference: <20100127221122.261477183@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed