I recently added support for Ruby 2.5.4, 2.5.5 and 2.6.0-2.6.3 to rbspy, the sampling profiler written in Rust. I have replaced the original Flamegraph library by Brendan Gregg with Inferno, a Rust port.
I also updated and merged a PR for handling
execve calls on Linux. This should fix the
Bad address (os error 14) issues that would appear. Finally, I did some dependency updates and fixes as indicated by clippy.
You should now be able to profile your Ruby 2.6 applications, and generate a flamegraph to find the code bottlenecks.
Pull requests mentioned in this article: