]> Pileus Git - ~andy/linux/commit
perf/x86: Use 0xff as pseudo code for fixed uncore event
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 27 Jun 2012 07:09:12 +0000 (15:09 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Jul 2012 19:55:58 +0000 (21:55 +0200)
commiteca26c9950f4d3e9c92ba275e9f4aee834aa1913
tree29a3b12e548f570fae123fe7211959d8825e1335
parent3e0091e2b6f8cd59e567f247e345a3a6ad1f6e7e
perf/x86: Use 0xff as pseudo code for fixed uncore event

Stephane Eranian suggestted using 0xff as pseudo code for fixed
uncore event and using the umask value to determine which of the
fixed events we want to map to. So far there is at most one fixed
counter in a uncore PMU. So just change the definition of
UNCORE_FIXED_EVENT to 0xff.

Suggested-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1340780953-21130-1-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore.c
arch/x86/kernel/cpu/perf_event_intel_uncore.h