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

Do not wait for process to complete if --duration is specified #457

Open
orlp opened this issue Dec 19, 2024 · 1 comment
Open

Do not wait for process to complete if --duration is specified #457

orlp opened this issue Dec 19, 2024 · 1 comment

Comments

@orlp
Copy link

orlp commented Dec 19, 2024

It appears (at least on Mac, perhaps this is a bug?) that samply waits for the recorded program to complete before writing out the profile.json or opening the profile page, even if --duration is specified. This is especially annoying when wanting to use the profiler to debug programs that are non-responsive.

Please write out the profile.json data and open the profiler interface immediately when the recorded duration has expired and/or provide an option to kill the child process when the duration has expired.

@mstange
Copy link
Owner

mstange commented Dec 19, 2024

I agree this would be preferable.

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

No branches or pull requests

2 participants