diff options
author | Vince Weaver <vincent.weaver@maine.edu> | 2012-09-26 14:12:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-10-04 13:32:37 +0200 |
commit | e717bf4e4fe8adc519f25c4ff93ee50ed0a36710 (patch) | |
tree | e356d43d216db2e6c615d658016a0c71d8b78ec7 /tools/perf/util/session.h | |
parent | b3eda8d05c1afe722dc19be3fee7eeadc75e25e2 (diff) | |
download | linux-e717bf4e4fe8adc519f25c4ff93ee50ed0a36710.tar.gz linux-e717bf4e4fe8adc519f25c4ff93ee50ed0a36710.tar.bz2 linux-e717bf4e4fe8adc519f25c4ff93ee50ed0a36710.zip |
perf/x86: Add support for Intel Xeon-Phi Knights Corner PMU
The following patch adds perf_event support for the Xeon-Phi
PMU, as documented in the "Intel Xeon Phi Coprocessor (codename:
Knights Corner) Performance Monitoring Units" manual.
Even though it is a co-processor, a Phi runs a full Linux
environment and can support performance counters.
This is just barebones support, it does not add support for
interesting new features such as the SPFLT intruction that
allows starting/stopping events without entering the kernel.
The PMU internally is just like that of an original Pentium, but
a "P6-like" MSR interface is provided. The interface is
different enough from a real P6 that it's not easy (or
practical) to re-use the code in perf_event_p6.c
Acked-by: Lawrence F Meadows <lawrence.f.meadows@intel.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: eranian@gmail.com
Cc: Lawrence F <lawrence.f.meadows@intel.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1209261405320.8398@vincent-weaver-1.um.maine.edu
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/session.h')
0 files changed, 0 insertions, 0 deletions