Skip to content

Commit

Permalink
fixup: fix integration test for tracer
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <[email protected]>
  • Loading branch information
florianl committed Oct 29, 2024
1 parent 0de915c commit 9c29d4b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tracer/ebpf_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 9c29d4b

Please sign in to comment.