flamegraph
flamegraph copied to clipboard
Fails when spaces are in project path
So far I'm really enjoying flamegraph! It's a better solution than what I'd cobbled together on my own. However, I have a bit of a problem:
mymachine:busy_work me$ sudo cargo flamegraph
Compiling busy_work v0.1.0 (/Users/me/Documents/Code/rust/Research and Development/busy_work)
Finished release [optimized] target(s) in 0.78s
WARNING: building without debuginfo. Enable symbol information by adding the following lines to Cargo.toml:
[profile.release]
debug = true
dtrace: system integrity protection is on, some features will not be available
dtrace: failed to execute /Users/me/Documents/Code/rust/Research: No such file or directory
failed to sample program
The project path is /Users/me/Documents/Code/rust/Research and Development/busy_work
and so it looks like arguments are being supplied wrong here. For good measure I installed the latest according to #61 and I'm still seeing the issue.
Unfortunately this is still present.
Would be happy to review a PR that addresses this issue.