flamegraph-rs / flamegraph

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
Apache License 2.0
4.61k stars 141 forks source link

Better error message if `perf` isn't installed #310

Open rickwebiii opened 6 months ago

rickwebiii commented 6 months ago

I forgot to install perf on a new cloud instance and got an error message that spawn failed due to file not found. It took me a while to figure out that the error message was due to perf not existing, not my binary.

A small UX improvement would be to print an error if perf itself can't be found :)

djc commented 6 months ago

Sounds good -- would you be able to submit a PR for this?

rickwebiii commented 5 months ago

Yeah, I can probably crank one out this afternoon.