I tried to use dtrace for my PHP scripts as normal user (no root, no pfexec). 
It seems that Netbeans IDE does not support to run pfexec beforce dtrace.
I changed my user permissions:
saf::::type=normal;defaultpriv=basic,dtrace_proc,dtrace_user,dtrace_kernel;profiles=Primary
 Administrator;roles=root

However:
saf at amelie:~$ dtrace -l | grep php
saf at amelie:~$ pfexec dtrace -l | grep php
 1704   php10219         dtrace.so                php_dtrace_execute 
function-entry
 1705   php10219         dtrace.so       php_dtrace_execute_internal 
function-entry
 1706   php10219         dtrace.so                php_dtrace_execute 
function-return
 ...

When I trace my PHP scripts without pfexec, I get no results.
When I use pfexec (dtrace as root), than it works perfectly.
What should I do that I can run it as non-root user?
I would like at least to use it directly in the IDE Netbeans.
-- 
This message posted from opensolaris.org

Reply via email to