Skip to content

fix: report exec event from syscall exit instead of syscall entry - #29

Merged
RonFed merged 2 commits into
mainfrom
debug_disable_duration_filter
Aug 4, 2025
Merged

fix: report exec event from syscall exit instead of syscall entry#29
RonFed merged 2 commits into
mainfrom
debug_disable_duration_filter

Conversation

@RonFed

@RonFed RonFed commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator

Durrng testing and reducing the duration filter to zero, observed that processes can have the /proc files in an unstable state - probably not ready yet.
This lead to logs liks:

{"time":"2025-08-04T11:40:17.084570751Z","level":"WARN","msg":"skipping process event due to env prefix not present","pid":6186,"envPrefixFilter":"ODIGOS_POD_NAME","cmdLine":"runc init","exePath":"/membership"}

The cmdline and the exe link seems inconsistent. In addition the environ files does not contain the expected env vars - which leads to the filtering of the event.
Adding an exit tracepoint to the eceve syscall and reporting to user space from there solves that behavior.

In addition, the duration_filter will be used as a passthrough filter if the duration passed is zero.

emergency-ticket id: EMR-5

@RonFed
RonFed merged commit 5e7c3fd into main Aug 4, 2025
5 of 8 checks passed
@RonFed
RonFed deleted the debug_disable_duration_filter branch August 4, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants