flamegraph icon indicating copy to clipboard operation
flamegraph copied to clipboard

Better error message if `perf` isn't installed

Open rickwebiii opened this issue 1 year ago • 2 comments

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 :)

rickwebiii avatar Mar 08 '24 21:03 rickwebiii

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

djc avatar Mar 08 '24 21:03 djc

Yeah, I can probably crank one out this afternoon.

rickwebiii avatar Mar 18 '24 19:03 rickwebiii