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

option to attach to a process tree #419

Closed
tmm1 opened this issue Nov 18, 2024 · 2 comments · Fixed by #425
Closed

option to attach to a process tree #419

tmm1 opened this issue Nov 18, 2024 · 2 comments · Fixed by #425

Comments

@tmm1
Copy link
Contributor

tmm1 commented Nov 18, 2024

would be nice if samply could take multiple -p options, or ideally be able to follow and attach to all child processes of the pid passed in

@tmm1
Copy link
Contributor Author

tmm1 commented Nov 18, 2024

appears this was part of the original design, so maybe no option is needed

// always root pid first
queue_pid(pid, false);
// TODO: find all its children
ExistingProcessRunner {
pid,

@tmm1
Copy link
Contributor Author

tmm1 commented Nov 19, 2024

it would also be nice to attach to new child processes automatically. is there any prior art there?

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 a pull request may close this issue.

1 participant