[oi-dev] dtrace for ruby/php

Sergey Avseyev sergey.avseyev at gmail.com
Sun Mar 20 10:46:49 UTC 2016


The problem with ruby can be fixed by adding /usr/sbin into PATH during
build, and also forcing --enable-dtrace switch for ./configure script

I made a patch here https://github.com/OpenIndiana/oi-userland/pull/1768

PHP makefile have this, but still doesn't seem like working, so I will
continue experiments with it.

On Sun, Mar 20, 2016 at 1:54 AM Sergey Avseyev <sergey.avseyev at gmail.com>
wrote:

> Hi guys, I've been trying to learn and use dtrace to analyze my ruby code.
> And I was surprised to realized that ruby binaries compiled without dtrace
> support, which has been implemented there a couple of years ago (since 2.0
> if I'm not mistaken).
>
> I've open an issue ticket about that on redmine:
> https://www.illumos.org/issues/6766
>
> Basically build scripts make some guessing about dtrace support, and my
> guess is that that test has failed, and it just disable all those probes.
>
> I also opened similar ticket for PHP https://www.illumos.org/issues/6767
>
> Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20160320/46bfb236/attachment-0005.html>


More information about the oi-dev mailing list