diff --git a/collector/CMakeLists.txt b/collector/CMakeLists.txt index 2c627fe384..ee01f09593 100644 --- a/collector/CMakeLists.txt +++ b/collector/CMakeLists.txt @@ -95,6 +95,7 @@ set(BUILD_DRIVER OFF CACHE BOOL "Build the driver on Linux" FORCE) set(USE_BUNDLED_DEPS OFF CACHE BOOL "Enable bundled dependencies instead of using the system ones" FORCE) set(NO_LINK_GRPC_LIBS ON CACHE BOOL "Do not link gRPC libraries" FORCE) set(WITH_CHISEL ON CACHE BOOL "Include chisel implementation" FORCE) +set(RING_BUF_MULTIPLIER 16) # Turn OFF falco's unit tests and examples set(CREATE_TEST_TARGETS OFF CACHE BOOL "Enable make-targets for unit testing" FORCE) diff --git a/falcosecurity-libs b/falcosecurity-libs index b03aa42bd9..12735ad882 160000 --- a/falcosecurity-libs +++ b/falcosecurity-libs @@ -1 +1 @@ -Subproject commit b03aa42bd9f6512bab0157ad7d1e4efad13b6fac +Subproject commit 12735ad882d9d15d96ee24eb62fe895312c4e174 diff --git a/kernel-modules/build/prepare-src b/kernel-modules/build/prepare-src index 5bff9479f7..fcc027ec51 100755 --- a/kernel-modules/build/prepare-src +++ b/kernel-modules/build/prepare-src @@ -83,10 +83,12 @@ cmake \ -DBUILD_DRIVER=ON \ -DENABLE_DKMS=OFF \ -DBUILD_BPF=ON \ + -DRING_BUF_MULTIPLIER=16 \ "$DRIVER_SCRATCH" # Copy a few files generated by cmake to the source directory. cp "${BUILD_SCRATCH}/driver/src/Makefile" "${DRIVER_SCRATCH}/driver/Makefile" cp "${BUILD_SCRATCH}/driver/src/driver_config.h" "${DRIVER_SCRATCH}/driver/driver_config.h" +cp "${BUILD_SCRATCH}/driver/src/ppm_ringbuffer.h" "${DRIVER_SCRATCH}/driver/ppm_ringbuffer.h" cd "${DRIVER_SCRATCH}/driver" module_version="$(get_module_version .)"