Now that El Capitan is "rootless", is there any way to get dtrace working? I've found dtrace to be an invaluable tool for debugging and troubleshooting all sorts of issues, not to mention the two dozen dtrace toolkit scripts shipped by Apple as part of El Capitan.

On El Cap though, running dtrace usually results in an endless spew of errors making dtrace all but useless.
System Integrity Protection in 10.11 can be disabled, though it's not something you should do lightly.

You can disable SIP entirely by doing the following:


Reboot your mac
Hold ⌘R during reboot
From the Utilities menu, run Terminal
Enter the following command




csrutil disable


Alternatively you can re-enable SIP while still allowing dtrace to work by also running the following:

csrutil enable --without dtrace


Note, that when doing so you'll get the following warning:


  This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.


Once you reboot, dtrace will work as it did in Yosemite.