perf/x86: Implement cycles:p for SNB/IVB
authorPeter Zijlstra <peterz@infradead.org>
Tue, 5 Jun 2012 08:26:43 +0000 (10:26 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 15:22:34 +0000 (17:22 +0200)
commit0780c927a02492f917a74f51f3c801c76a637c57
tree330b50d5564ce2e9dac8995bb5cfcd162aebc73f
parent5a425294ee7d4ab5a374248e85838dfd450caf75
perf/x86: Implement cycles:p for SNB/IVB

Now that there's finally a chip with working PEBS (IvyBridge), we can
enable the hardware and implement cycles:p for SNB/IVB.

Cc: Stephane Eranian <eranian@google.com>
Requested-and-tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1338884803.28282.153.camel@twins
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_intel.c