]> nv-tegra.nvidia Code Review - linux-3.10.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 14:59:47 +0000 (16:59 +0200)
commitcccb9ba9e4ee0d750265f53de9258df69655c40b
tree35d79f295087f7d94067795f0079781c060f614a
parentb430f7c4706aeba4270c7ab7744fc504b9315e1c
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