Added libpfm4 library support
authorDavide Libenzi <dlibenzi@google.com>
Mon, 16 Nov 2015 15:03:55 +0000 (07:03 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 16 Dec 2015 21:27:06 +0000 (16:27 -0500)
commit2ee1fefa0781ac89e665becc85e3c7444ff315c1
treefba7fd355eb63a5592446b0c1af09bbd3ea64eb2
parent71e47277cbf1b5411c2a9777f093b07c039d86b7
Added libpfm4 library support

Added libpfm4 library support. The libpfm4 library provides a database
of counters available on different Intel platforms.
The library source was fetched from its home page:

http://perfmon2.sourceforge.net/

Signed-off-by: Davide Libenzi <dlibenzi@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
114 files changed:
Makefile
user/perfmon/Makefile [new file with mode: 0644]
user/perfmon/events/amd64_events_fam10h.h [new file with mode: 0644]
user/perfmon/events/amd64_events_fam11h.h [new file with mode: 0644]
user/perfmon/events/amd64_events_fam12h.h [new file with mode: 0644]
user/perfmon/events/amd64_events_fam14h.h [new file with mode: 0644]
user/perfmon/events/amd64_events_fam15h.h [new file with mode: 0644]
user/perfmon/events/amd64_events_fam15h_nb.h [new file with mode: 0644]
user/perfmon/events/amd64_events_k7.h [new file with mode: 0644]
user/perfmon/events/amd64_events_k8.h [new file with mode: 0644]
user/perfmon/events/intel_atom_events.h [new file with mode: 0644]
user/perfmon/events/intel_bdw_events.h [new file with mode: 0644]
user/perfmon/events/intel_core_events.h [new file with mode: 0644]
user/perfmon/events/intel_coreduo_events.h [new file with mode: 0644]
user/perfmon/events/intel_hsw_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivb_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_cbo_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_ha_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_imc_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_irp_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_pcu_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_qpi_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_r2pcie_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_r3qpi_events.h [new file with mode: 0644]
user/perfmon/events/intel_ivbep_unc_ubo_events.h [new file with mode: 0644]
user/perfmon/events/intel_knc_events.h [new file with mode: 0644]
user/perfmon/events/intel_netburst_events.h [new file with mode: 0644]
user/perfmon/events/intel_nhm_events.h [new file with mode: 0644]
user/perfmon/events/intel_nhm_unc_events.h [new file with mode: 0644]
user/perfmon/events/intel_p6_events.h [new file with mode: 0644]
user/perfmon/events/intel_pii_events.h [new file with mode: 0644]
user/perfmon/events/intel_pm_events.h [new file with mode: 0644]
user/perfmon/events/intel_ppro_events.h [new file with mode: 0644]
user/perfmon/events/intel_slm_events.h [new file with mode: 0644]
user/perfmon/events/intel_snb_events.h [new file with mode: 0644]
user/perfmon/events/intel_snb_unc_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_cbo_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_ha_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_imc_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_pcu_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_qpi_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_r2pcie_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_r3qpi_events.h [new file with mode: 0644]
user/perfmon/events/intel_snbep_unc_ubo_events.h [new file with mode: 0644]
user/perfmon/events/intel_wsm_events.h [new file with mode: 0644]
user/perfmon/events/intel_wsm_unc_events.h [new file with mode: 0644]
user/perfmon/events/intel_x86_arch_events.h [new file with mode: 0644]
user/perfmon/events/perf_events.h [new file with mode: 0644]
user/perfmon/examples/Makefile [new file with mode: 0644]
user/perfmon/examples/check_events.c [new file with mode: 0644]
user/perfmon/examples/showevtinfo.c [new file with mode: 0644]
user/perfmon/include/perfmon/err.h [new file with mode: 0644]
user/perfmon/include/perfmon/perf_event.h [new file with mode: 0644]
user/perfmon/include/perfmon/pfmlib.h [new file with mode: 0644]
user/perfmon/include/perfmon/pfmlib_perf_event.h [new file with mode: 0644]
user/perfmon/pfmlib_amd64.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_fam10h.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_fam11h.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_fam12h.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_fam14h.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_fam15h.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_k7.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_k8.c [new file with mode: 0644]
user/perfmon/pfmlib_amd64_priv.h [new file with mode: 0644]
user/perfmon/pfmlib_common.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_atom.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_bdw.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_core.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_coreduo.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_hsw.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivb.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivb_unc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_cbo.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_ha.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_imc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_irp.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_pcu.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_qpi.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_r2pcie.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_r3qpi.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_ivbep_unc_ubo.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_knc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_netburst.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_netburst_priv.h [new file with mode: 0644]
user/perfmon/pfmlib_intel_nhm.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_nhm_unc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_p6.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_rapl.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_slm.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snb.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snb_unc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_cbo.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_ha.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_imc.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_pcu.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_priv.h [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_qpi.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_r2pcie.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_r3qpi.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_snbep_unc_ubo.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_wsm.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_x86.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_x86_arch.c [new file with mode: 0644]
user/perfmon/pfmlib_intel_x86_priv.h [new file with mode: 0644]
user/perfmon/pfmlib_priv.h [new file with mode: 0644]
user/perfmon/tests/Makefile [new file with mode: 0644]
user/perfmon/tests/validate.c [new file with mode: 0644]
user/perfmon/tests/validate_arm.c [new file with mode: 0644]
user/perfmon/tests/validate_arm64.c [new file with mode: 0644]
user/perfmon/tests/validate_mips.c [new file with mode: 0644]
user/perfmon/tests/validate_power.c [new file with mode: 0644]
user/perfmon/tests/validate_x86.c [new file with mode: 0644]