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 event allows the user to control which events stack traces should be produced for (via a parameter) and in which scopes.
The list of events that stack traces should be produced for is populated in a BPF map to be used later.
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