perf, intel: Try alternative OFFCORE encodings
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 23 May 2011 09:08:15 +0000 (11:08 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Jul 2011 09:06:37 +0000 (11:06 +0200)
commitb79e8941fb9af07d810da91b4e29da2bba331b6e
tree8bb9c7ec132d185dc79f9a05274c1535d3634762
parentee89cbc2d48150c7c0e9f2aaac00afde99af098c
perf, intel: Try alternative OFFCORE encodings

Since the OFFCORE registers are fully symmetric, try the other one
when the specified one is already in use.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1306141897.18455.8.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c