1

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!

mcarton
  • 27,633
  • 5
  • 85
  • 95
Ziva
  • 3,181
  • 15
  • 48
  • 80

0 Answers0