]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit154ec7466829a4e36341d842dd72c297f40da2e6
tree330b50d5564ce2e9dac8995bb5cfcd162aebc73f
parent3b0c75451feb57c163ab0746f4b31cb8da5bd852
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