I've configured and installed Ruby 2.2.2 with DTrace enabled (--enable-dtrace
).
It appears to have done so successfully: "checking whether dtrace USDT is available... yes" and "dtrace" on another check (instead of "no").
Testing with:
sudo dtrace -c 'ruby -v' -l -m ruby
Returns:
dtrace: failed to match :ruby::: No probe matches description
I did see dtrace probes missing on yosemite system ruby, but that's RVM and I install with a local user account (sudo-less).
Has someone with a similar configuration made this work and, if so, how?
Thanks.
Also: RbConfig::CONFIG['DTRACE']
outputs dtrace
in IRB.
I've Googled and DDG'd the heck out of this question, so I think an answer from someone's own experience would be necessary to help...