perf events: Enable raw event support for Intel unhalted_reference_cycles event
authorStephane Eranian <eranian@google.com>
Sat, 10 Dec 2011 23:28:51 +0000 (00:28 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Dec 2011 09:26:32 +0000 (10:26 +0100)
commitcd09c0c40a971549800ce6a7e53c63f5139dd175
treeb51a9edb0c500feb719fdb2e571a6dc204fdbe18
parentd9e24427f339e5c18419769d41697062811c5cd8
perf events: Enable raw event support for Intel unhalted_reference_cycles event

This patch adds the encoding and definitions necessary for the
unhalted_reference_cycles event avaialble since Intel Core 2 processors.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1323559734-3488-2-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event.h
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c