Setting DTrace Preferences

Use the DTrace tab to configure how DTrace-based instruments act. DTrace instruments use dynamic tracing to access low-level kernel operations and user processes running on your device.

Open Instruments > Preferences and click DTrace.


You can configure the following options:

Buffer Size: Sets the size of the DTrace buffer (in megabytes). The default is 25 MB.

Max backtrace depth: Sets the maximum stack depth that is captured when using a DTrace instrument (in megabytes). The default is 25 MB.

DTrace probe options: Configures the probe options for DTrace-based instruments.

  • Permit zero match probes: Prevents an error when a specified probe is not found.

  • Preserve intermediate files: Prevents Instruments from removing intermediate files from the disk.

  • Flag runtime messages: Adds flags to the timeline for status and error messages encountered during a recording.

The screenshot shows the default DTrace preferences.

Definitive Discussion