-
Notifications
You must be signed in to change notification settings - Fork 143
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
Can't build after running flamegraph (MacOS) #229
Comments
Yeah, I'm afraid you just have to |
Another workaround is to run @djc Just so that I'm understanding it correctly, the only thing that needs to run as root is running dtrace. Building as root and writing the final flamegraph as root are unintended side-effects, right? |
I think so! |
The Instead, the README-recommended invocation of e.g. |
After running
sudo cargo flamegraph
(which runs fine) I get one of the following two errors fromcargo build --release
:But running
sudo cargo flamegraph
again works fine. I assume it's leaving a lock on some files which prevents access.cargo clean
hits the same problem, so I have to manually delete the target directory and rebuild. Might be related to using sudo, but unfortunately this seems to be required on MacOS.The text was updated successfully, but these errors were encountered: