Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Stack traces #4347

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

WIP: Stack traces #4347

wants to merge 4 commits into from

Conversation

oshaked1
Copy link
Contributor

No description provided.

The stack addresses feature will be removed in the future with the introduction of full stack traces.
The PIDs in mount NS cache is updated from `sched_process_exec` events, but the PIDs from the events cannot be used for procfs access if Tracee is not running in the root PID namespace (for example on WSL).
To work around this limitation, if no PID in the cache exists for the requested mount NS, we search through procfs to find any PID in the requested mount NS and add it to the cache.
This mechanism allows specific events to perform eBPF related operations based on their argument filters.
Currently there is no user for this mechanism, but stack traces which will be implemented soon will use it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant