From: Peter Zijlstra Date: Thu, 10 Nov 2011 14:15:42 +0000 (+0100) Subject: perf, x86: Prefer fixed-purpose counters when scheduling X-Git-Tag: v3.3-rc1~192^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4defea8559bc0f97a899d94c8d19d3b8bb802bc4;p=pandora-kernel.git perf, x86: Prefer fixed-purpose counters when scheduling This avoids a scheduling failure for cases like: cycles, cycles, instructions, instructions (on Core2) Which would end up being programmed like: PMC0, PMC1, FP-instructions, fail Because all events will have the same weight. Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-8tnwb92asqj7xajqqoty4gel@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed