Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ebpf: delete pid from exec maps if it exists
We track new processes execution by intercepting the enter and exit of the functions, but sometimes the exit hook is not called, so the corresponding entry was not being removed from the map. In this situation the map becomes full and accepts no new entries. Now the entry is deleted from the map once the process exits, if it still exists in the map. (cherry picked from commit 9446d19)
- Loading branch information