How can I use DTrace on Yosemite with Ruby 2.2.2?

I configured and installed Ruby 2.2.2 with DTrace ( --enable-dtrace ) --enable-dtrace .

It seems that this was done successfully: "dtrace USDT availability check ... yes" and "dtrace" on another check (instead of "no").

Testing with:

sudo dtrace -c 'ruby -v' -l -m ruby

Return:

dtrace: failed to match :ruby::: No probe matches description

I saw dtrace proxies that are absent in the yosemite ruby ​​system, but I install this RVM using the local user account (sudo-less).

Someone with a similar configuration did the job, and if so, how?

Thanks.

Also: RbConfig::CONFIG['DTRACE'] outputs dtrace to IRB.

I have Googled and DDG'd heck from this question, so I think that an answer from someone of my own experience would be needed to help ...

+5
source share

All Articles