From: Peter Zijlstra Date: Sat, 6 Mar 2010 12:26:11 +0000 (+0100) Subject: perf, x86: Fix pebs drains X-Git-Tag: v2.6.35-rc1~522^2~223 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f4aebd2be9892bf8fb79a2d8576d3f3ee7f00f6;p=pandora-kernel.git perf, x86: Fix pebs drains I overlooked the perf_disable()/perf_enable() calls in intel_pmu_handle_irq(), (pointed out by Markus) so we should not explicitly disable_all/enable_all pebs counters in the drain functions, these are already disabled and enabling them early is confusing. Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed