e75c1d888b
Major updates: - Add IBM Power10 core PMU support - Add Intel IcelakeX core PMU support - Add Intel SapphireRapid core PMU support - Add Intel SapphireRapid RAPL PMU support - Update Intel Icelake RAPL PMU support - Add support HiSilicon Kunpeng uncore PMUs - Add support HiSilicon Kunpeng core PMU - Remove arm_fujitsu_a64fx_support for ARM(32 bit) - Update Intel Skylake event table - Add Intel PERF_METRICS event support for Icelake - Add support for ARM Neoverse N2 core PMU - Add ARM SPE events for Neoverse N1 core PMU - Add cgroup-switches software event - Add Intel Tigerlake and Rocketlake core PMU support - Add AMD64 Fam19h Zen3 L3 PMU support - Add AMD64 Fam17h Zen2 RAPL support - Add AMD64 Fam19h Zen3 core PMU support - Add RAPL for AMD64 Fam19h Zen3 processor - Update ARM N1 event table - Update AMD Fam17h Zen2 event table - s390: Update counter definition for IBM z16 https://perfmon2.sourceforge.net/ Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
953 B
Makefile
33 lines
953 B
Makefile
################################################################################
|
|
#
|
|
# libpfm4
|
|
#
|
|
################################################################################
|
|
|
|
LIBPFM4_VERSION = 4.12.0
|
|
LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz
|
|
LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4
|
|
LIBPFM4_LICENSE = libpfm4 license
|
|
LIBPFM4_LICENSE_FILES = COPYING
|
|
LIBPFM4_INSTALL_STAGING = YES
|
|
|
|
LIBPFM4_FLAGS = SYS=Linux ARCH=$(BR2_ARCH) \
|
|
CC="$(TARGET_CC)" LDCONFIG=true \
|
|
CONFIG_PFMLIB_SHARED=$(if $(BR2_STATIC_LIBS),n,y) \
|
|
DBG= \
|
|
EXAMPLE_DIRS=
|
|
|
|
define LIBPFM4_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS)
|
|
endef
|
|
|
|
define LIBPFM4_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(STAGING_DIR)/usr install
|
|
endef
|
|
|
|
define LIBPFM4_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(TARGET_DIR)/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|