Navigation Menu

Skip to content
Kazuho Oku edited this page Dec 16, 2019 · 3 revisions

Using DTrace

Recent macOS versions ship with System Integrity Protection enabled, that by defaults prevents tracing of binaries being built by the user, e.g., h2o.

To trace such binaries, it is necessary to turn off "dtrace restrictions," by following the steps below:

  1. Reboot into recovery mode, by pressing Cmd+R during reboot.
  2. Open shell.
  3. Run csrutil enable --without dtrace.
  4. Reboot into normal mode.
  5. Run csrutil status, and check that dtrace restrictions is disabled.