Skip to content

Commit

Permalink
pkg/bpf: make detect return syscall logs info to debug
Browse files Browse the repository at this point in the history
This message always appears when probing the eBPF features on the system
while it might only be relevant to debug.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy authored and jrfastab committed Jan 25, 2024
1 parent e1e4bd6 commit d06d955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bpf/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func detectModifyReturnSyscall() bool {
if err != nil {
return false
}
logger.GetLogger().Infof("probing detectModifyReturnSyscall using %s", sysGetcpu)
logger.GetLogger().Debugf("probing detectModifyReturnSyscall using %s", sysGetcpu)
prog, err := ebpf.NewProgram(&ebpf.ProgramSpec{
Name: "probe_sys_fmod_ret",
Type: ebpf.Tracing,
Expand Down

0 comments on commit d06d955

Please sign in to comment.