flamegraph icon indicating copy to clipboard operation
flamegraph copied to clipboard

Fails when spaces are in project path

Open RandomInsano opened this issue 4 years ago • 2 comments

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.

RandomInsano avatar Jan 12 '20 21:01 RandomInsano

Unfortunately this is still present.

marvk avatar Aug 09 '23 11:08 marvk

Would be happy to review a PR that addresses this issue.

djc avatar Aug 09 '23 11:08 djc