0.23.0-rc1
Pre-release
Pre-release
·
10 commits
to release/0.23.x
since this release
chore(libscap/engine/bpf): improve error logging Right now if perf_event_mmap() fails, it will buffer some diagnostic info using scap_errprintf(), spelling out which of the two mmap() calls failed. However, upon detecting a failure, the calling function will also call scap_errprintf() and therefore overwrite the previous log line. This change: a) adds the actual values passed to mmap() to the log line, so get a bit more context b) suppresses the subsequent scap_errprintf() invocation so to surface the orignal log line instead. Signed-off-by: Gerlando Falauto <gerlando.falauto@sysdig.com>