JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris Dynamic Tracing Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction

2.  Types, Operators, and Expressions

3.  Variables

4.  D Program Structure

5.  Pointers and Arrays

6.  Strings

7.  Structs and Unions

8.  Type and Constant Definitions

9.  Aggregations

10.  Actions and Subroutines

11.  Buffers and Buffering

12.  Output Formatting

13.  Speculative Tracing

14.  dtrace(1M) Utility

15.  Scripting

16.  Options and Tunables

Consumer Options

Modifying Options

17.  dtrace Provider

18.  lockstat Provider

19.  profile Provider

20.  fbt Provider

21.  syscall Provider

22.  sdt Provider

23.  sysinfo Provider

24.  vminfo Provider

25.  proc Provider

26.  sched Provider

27.  io Provider

28.  mib Provider

29.  fpuinfo Provider

30.  pid Provider

31.  plockstat Provider

32.  fasttrap Provider

33.  User Process Tracing

34.  Statically Defined Tracing for User Applications

35.  Security

36.  Anonymous Tracing

37.  Postmortem Tracing

38.  Performance Considerations

39.  Stability

40.  Translators

41.  Versioning

Glossary

Index

Consumer Options

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
Description
See Chapter
aggrate
time
Rate of aggregation reading
aggsize
size
Aggregation buffer size
bufresize
auto or manual
Buffer resizing policy
bufsize
size
-b
Principal buffer size
cleanrate
time
Cleaning rate. Must be specified in number-per-second with the hz suffix.
cpu
scalar
-c
CPU on which to enable tracing
defaultargs
Allow references to unspecified macro arguments
destructive
-w
Allow destructive actions
dynvarsize
size
Dynamic variable space size
flowindent
-F
Indent function entry and prefix with ->; unindent function return and prefix with <-
grabanon
-a
Claim anonymous state
jstackframes
scalar
Number of default stack frames jstack()
jstackstrsize
scalar
Default string space size for jstack()
nspec
scalar
Number of speculations
quiet
-q
Output only explicitly traced data
specsize
size
Speculation buffer size
strsize
size
String size
stackframes
scalar
Number of stack frames
stackindent
scalar
Number of whitespace characters to use when indenting stack() and ustack() output
statusrate
time
Rate of status checking
switchrate
time
Rate of buffer switching
ustackframes
scalar
Number of user stack frames

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.