Dtrace

osx dtrace

Running DTrace in Ruby on MacOS X

Since version 2 Ruby comes with DTrace probes, which lets you dynamically instrument a running program. Unfortunately the Ruby shipped with MacOS X doesn’t have DTrace enabled, when you try to list the available probes, you’ll see this: martin$ …