From 9c29d4bdf147f5203e02473d68a1f5c4128a58c3 Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Tue, 29 Oct 2024 10:27:33 +0100 Subject: [PATCH] fixup: fix integration test for tracer Signed-off-by: Florian Lehner --- tracer/ebpf_integration_test.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tracer/ebpf_integration_test.go b/tracer/ebpf_integration_test.go index d671aca2..0a9be766 100644 --- a/tracer/ebpf_integration_test.go +++ b/tracer/ebpf_integration_test.go @@ -255,7 +255,13 @@ func TestAllTracers(t *testing.T) { kernelSymbols, err := proc.GetKallsyms("/proc/kallsyms") require.NoError(t, err) - _, _, err = initializeMapsAndPrograms(tracertypes.AllTracers(), kernelSymbols, - false, 1, false, false, 0) + _, _, err = initializeMapsAndPrograms(kernelSymbols, &Config{ + IncludeTracers: tracertypes.AllTracers(), + MapScaleFactor: 1, + FilterErrorFrames: false, + KernelVersionCheck: false, + DebugTracer: false, + BPFVerifierLogLevel: 1, + }) require.NoError(t, err) }