Profile Ruby 2.0 apps using DTrace – Part 1
crypt.codemancers.com
crypt.codemancers.com
Full disclosure: I work at Big Nerd Ranch.
http://www.amazon.com/DTrace-Dynamic-Tracing-Solaris-FreeBSD...
http://www.dtracebook.com/index.php/Main_Page
There's another very detailed book available for free from illumos (the OpenSolaris fork):
DTrace support is also one reason I'd really like to see FreeBSD supported as a first-class platform on AWS and/or Azure. Maybe this'll be the year...
So here's a start: dtrace-json
https://github.com/doublerebel/dtrace-json
It's in IcedCoffeeScript but could easily be adapted to Ruby or another language. I used it to debug a native iOS module for a Titanium Mobile app. HTH others as much as it did me!
Also, just to double check you are running those commands with sudo right? dtrace won't work without root access.
Also forgot to mention, I am using DTrace that ships with Mountain Lion and DTrace api version is - Sun D 1.6.2.
If you want to give DTrace a try, you could try PC-BSD (the desktop version of FreeBSD) -- there are preinstalled images for VMWare, VirtualBox, etc., and live USB images if you prefer: http://www.pcbsd.org/en/download.html