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

Not compatible with -Zpanic_abort_tests #256

Open
alecmocatta opened this issue Mar 8, 2023 · 1 comment
Open

Not compatible with -Zpanic_abort_tests #256

alecmocatta opened this issue Mar 8, 2023 · 1 comment

Comments

@alecmocatta
Copy link

panic = abort plue -Zpanic_abort_tests results in a forked process per test. At least on macOS, dtrace is not following forks in the executed binary, so it doesn't see the tests actually being run.

cc rust-lang/rust#67650

RUSTFLAGS='-Cpanic=abort -Zpanic_abort_tests' cargo flamegraph --root --test sync

image

cargo flamegraph --root --test sync

image

@djc
Copy link
Contributor

djc commented Mar 8, 2023

I'm not sure if there's something we could do about this within reasonable complexity -- or at least, I probably don't have time/motivation to address this use case, though would be happy to look at a PR if you want to submit one.

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