Table of Contents
DTrace is tuned by setting or enabling options. The available options are described in the table below. For some options, dtrace ( 1M ) provides a corresponding command-line option.
Table 16.1. DTrace Consumer Options
Option Name |
Value |
dtrace ( 1M ) Alias |
Description |
See Chapter |
---|---|---|---|---|
|
|
Rate of aggregation reading |
Chapter 9, Aggregations | |
|
|
Aggregation buffer size |
Chapter 9, Aggregations | |
|
|
Buffer resizing policy |
Chapter 11, Buffers and Buffering | |
|
|
|
Principal buffer size |
Chapter 11, Buffers and Buffering |
|
|
Cleaning rate |
Chapter 13, Speculative Tracing | |
|
|
|
CPU on which to enable tracing |
Chapter 11, Buffers and Buffering |
|
— |
Allow references to unspecified macro arguments |
Chapter 15, Scripting | |
|
— |
|
Allow destructive actions |
Chapter 10, Actions and Subroutines |
|
|
Dynamic variable space size |
Chapter 3, Variables | |
|
— |
|
Indent function entry and prefix with |
Chapter 14, dtrace ( 1M ) Utility |
|
— |
|
Claim anonymous state |
Chapter 36, Anonymous Tracing |
|
|
Number of default stack frames |
Chapter 10, Actions and Subroutines | |
|
|
Default string space size for |
Chapter 10, Actions and Subroutines | |
|
|
Number of speculations |
Chapter 13, Speculative Tracing | |
|
— |
|
Output only explicitly traced data |
Chapter 14, dtrace ( 1M ) Utility |
|
|
|
Speculation buffer size |
Chapter 13, Speculative Tracing |
|
|
String size |
Chapter 6, Strings | |
|
|
Number of stack frames |
Chapter 10, Actions and Subroutines | |
|
|
Number of whitespace characters to use when indenting |
Chapter 10, Actions and Subroutines | |
|
|
Rate of status checking |
| |
|
|
Rate of buffer switching |
Chapter 11, Buffers and Buffering | |
|
|
Number of user stack frames |
Chapter 10, Actions and Subroutines |
Values that denote sizes may be given an optional suffix of k
, m
, g
, or t
to denote kilobytes, megabytes, gigabytes, and terabytes respectively. Values that denote times may be given an optional suffix of ns
, us
, ms
, s
or hz
to denote nanoseconds, microseconds, milliseconds, seconds, and number-per-second, respectively.