d1d93d488c
Changes: - Update LICENSE hash due to a year bump. - Remove 0001-Look-for-pcm-core-at-the-default-path.patch in favor of the upstream patch 0001-pmu-query.py-fix-python3-errors-add-linux-platform-s.patch - Add -fPIC to the CXXFLAGS to prevent the error: "msr.o: relocation R_X86_64_PC32 against symbol `_ZTVN3pcm9MsrHandleE' can not be used when making a shared object; recompile with -fPIC" - Depend on Python3 for the pmu-query script. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
876 B
Plaintext
32 lines
876 B
Plaintext
comment "pcm-tools needs a toolchain w/ C++"
|
|
depends on BR2_i386 || BR2_x86_64
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
|
|
|
config BR2_PACKAGE_PCM_TOOLS
|
|
bool "pcm-tools"
|
|
depends on BR2_i386 || BR2_x86_64
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
select BR2_PACKAGE_HWDATA
|
|
select BR2_PACKAGE_HWDATA_PCI_IDS
|
|
help
|
|
Processor Counter Monitor (PCM) is an application programming
|
|
interface (API) and a set of tools based on the API to monitor
|
|
performance and energy metrics of Intel(R) Core(TM), Xeon(R),
|
|
Atom(TM) and Xeon Phi(TM) processors.
|
|
|
|
https://github.com/opcm/pcm
|
|
|
|
if BR2_PACKAGE_PCM_TOOLS
|
|
|
|
config BR2_PACKAGE_PCM_TOOLS_PMU_QUERY
|
|
bool "install the pmu-query script"
|
|
default y
|
|
depends on BR2_PACKAGE_PYTHON3
|
|
select BR2_PACKAGE_CA_CERTIFICATES # https
|
|
select BR2_PACKAGE_PYTHON3_SSL # urllib2
|
|
|
|
comment "pmu-query needs Python3"
|
|
depends on !BR2_PACKAGE_PYTHON3
|
|
|
|
endif
|