Creating flamegraphs over specific binary executable

236 views Asked by At

I want to create a flamegraph of my Rust executable (which is in target/release/name-of-binary). I found the perf command to here

However, since I'm suing mac os, I don't have perf and have to use dtrace. Although I figured out how to use dtrace for a specific PID, I don't know how to use it for a specific Rust binary. Any help would be appreciated!

0

There are 0 answers