Similar to Xdebug, DTrace also didn’t want to work and failed with the same error, so I tried the same trick, and it worked.
Follow the instructions from Lee Packham’s blog but configure it as a 64-bit application:
- tar xzf dtrace-1.0.3fixtar.gz
- cd dtrace-1.0.3+fix
- phpize
- CFLAGS=’-arch x86_64′ ./configure –with-dtrace
- make
- make install
So far so good, the module is loaded. Now let’s see if Instruments will do its thing.
Related posts:
