From 72f4715688afa916103d3d3b04ae8217d6300d80 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 22 Nov 2024 09:27:33 +0100 Subject: [PATCH] chore(ci): drop jemalloc from ASAN builds. Signed-off-by: Federico Di Pierro --- .github/workflows/reusable_build_packages.yaml | 3 ++- falco.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable_build_packages.yaml b/.github/workflows/reusable_build_packages.yaml index d42ee16ddbd..ac648412fb7 100644 --- a/.github/workflows/reusable_build_packages.yaml +++ b/.github/workflows/reusable_build_packages.yaml @@ -75,6 +75,7 @@ jobs: uses: falcosecurity/libs/.github/actions/install-zig@master - name: Prepare project + # Jemalloc and ASAN don't play very well together. run: | cmake -B build -S . \ -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} \ @@ -84,7 +85,7 @@ jobs: -DBUILD_DRIVER=Off \ -DBUILD_BPF=Off \ -DUSE_ASAN=${{ (inputs.sanitizers == true && inputs.arch == 'x86_64' && 'ON') || 'OFF' }} \ - -DUSE_JEMALLOC=On \ + -DUSE_JEMALLOC=${{ (inputs.sanitizers == true && inputs.arch == 'x86_64' && 'OFF') || 'ON' }} \ -DFALCO_VERSION=${{ inputs.version }} - name: Build project diff --git a/falco.yaml b/falco.yaml index 33c8dd8b679..9725b745aad 100644 --- a/falco.yaml +++ b/falco.yaml @@ -1115,6 +1115,8 @@ syscall_event_drops: # there will be no metrics available. In other words, there are no default or # generic plugin metrics at this time. This may be subject to change. # +# `jemalloc_stats_enabled`: Falco can now expose jemalloc related stats. +# # If metrics are enabled, the web server can be configured to activate the # corresponding Prometheus endpoint using `webserver.prometheus_metrics_enabled`. # Prometheus output can be used in combination with the other output options.