OS X 10.11 VM can't accept tracing from DTrace (for example trying to crash it with 'sudo dtrace -w -n "BEGIN{ panic();}"')

Something keeps me from tracing on OS X El Capitan using DTrace (for example crashing it with sudo dtrace -w -n "BEGIN{ panic();}").

How can I solve this?

Correct answer: Turn off SIP.


Solution 1:

You need to disable System Integrity Protection in order to be able to trigger a kernel panic.