]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86: Enable raw event access to Intel offcore events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 14 Nov 2011 09:03:25 +0000 (10:03 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Nov 2011 12:03:44 +0000 (13:03 +0100)
commitce677ea2e7aa311b3551f453c34356bc5b320ecc
tree378bc886f4a59d7564fb8021a6392af62ba42ced
parent078d5fffdc3a6e2cfde0f2a27829bc07a889eed1
perf/x86: Enable raw event access to Intel offcore events

Now that the core offcore support is fixed up (thanks Stephane) and we
have sane generic events utilizing them, re-enable the raw access to
the feature as well.

Note that it doesn't matter if you use event 0x1b7 or 0x1bb to specify
an offcore event, either one works and neither guarantees you'll end
up on a particular offcore MSR.

Based on original patch from: Vince Weaver <vweaver1@eecs.utk.edu>.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Vince Weaver <vweaver1@eecs.utk.edu>.
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.00.1108031200390.703@cl320.eecs.utk.edu
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c