From: Tom Jones Date: Fri, 26 Jan 2024 14:13:39 +0000 (+0000) Subject: vppinfra: Don't build perfmon on FreeBSD X-Git-Tag: v24.10-rc0~265 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=000b5e1b7169031d70d61b3e9dba9b979da8e9d9;p=vpp.git vppinfra: Don't build perfmon on FreeBSD FreeBSD has platform specific APIs for interfacing with performance counters. Until we bring in FreeBSD support, don't build perfmon on platforms which aren't linux. Type: improvement Change-Id: Iabc418922c0d2e851c6098508761135f53433ae8 Signed-off-by: Tom Jones --- diff --git a/src/vppinfra/CMakeLists.txt b/src/vppinfra/CMakeLists.txt index 6976ac59fc5..86b1c884269 100644 --- a/src/vppinfra/CMakeLists.txt +++ b/src/vppinfra/CMakeLists.txt @@ -71,9 +71,6 @@ set(VPPINFRA_SRCS mhash.c mpcap.c pcap.c - perfmon/bundle_default.c - perfmon/bundle_core_power.c - perfmon/perfmon.c pmalloc.c pool.c ptclosure.c @@ -220,6 +217,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") linux/mem.c linux/sysfs.c linux/netns.c +# TODO: Temporarily don't build perfmon on non-Linux + perfmon/bundle_default.c + perfmon/bundle_core_power.c + perfmon/perfmon.c ) endif()