Skip to content

Commit 42f5074

Browse files
author
cdelzotti
authored
builder: Remove cap probing for trace subcommand (#2056)
When running tracee with the trace subcommand, a few seconds are wasted while probing for tracee-ebpf capabilities. This is not required when the user is about to run tracee-ebpf anyway. Signed-off-by: cdelzotti <[email protected]>
1 parent 30f2078 commit 42f5074

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

builder/entrypoint.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ probe_tracee_ebpf() {
4545
}
4646

4747
run_tracee_ebpf() {
48-
probe_tracee_ebpf
49-
if [ ${TRACEE_RET} -eq 2 ]; then
50-
return
51-
fi
52-
5348
${TRACEE_EBPF_EXE} $@
5449
TRACEE_RET=$?
5550
}

0 commit comments

Comments
 (0)