Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ebpf: performance improvement for opensnitch-procs
We were sending to userspace unnecessary exit events, consuming unnecessary CPU cycles. We only intercept execve and execveat, but sched_process_exit is invoked by more functions (sched_process_exit, clone, ...), so we were receiving on the daemon events that we did nothing with them, apart from consuming CPU cycles. On some scenarios like on servers running saltstack (as salt-master), this caused to consume more CPU than needed.
- Loading branch information