Running DTrace in a Non-Global Zone

DTrace programs that require only the dtrace_proc and dtrace_user privileges can be run in a non-global zone. To add these privileges to the set of privileges available in the non-global zone, set the zone's limitpriv property, as shown in Adding DTrace Privileges to a Non-Global Zone.

DTrace supports the providers fasttrap and pid through dtrace_proc. The providers supported through dtrace_user are profile and syscall. DTrace providers and actions operate only within the zone.