perf/x86: Allow for architecture specific RDPMC indexes
authorJacob Shin <jacob.shin@amd.com>
Wed, 6 Feb 2013 17:26:28 +0000 (11:26 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Feb 2013 18:45:24 +0000 (19:45 +0100)
commit0fbdad078a70ed72248c3d30fe32e45e83be00d1
tree07671320ea9e2c5e89d28508c0f8ff2a5ad1a29a
parent4c1fd17a1cb32bc4f429c7a5ff9a91a3bffdb8fa
perf/x86: Allow for architecture specific RDPMC indexes

Similar to config_base and event_base, allow architecture
specific RDPMC ECX values.

Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Acked-by: Stephane Eranian <eranian@google.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1360171589-6381-6-git-send-email-jacob.shin@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_amd.c