Documentation Home
> DTrace User Guide
DTrace User Guide
Book Information
Index
A
C
D
E
F
P
S
T
U
Preface
Chapter 1 Introduction
DTrace Capabilities
Architecture overview
DTrace Providers
DTrace Probes
DTrace Predicates
DTrace Actions
D Scripting Language
Chapter 2 DTrace Basics
Listing Probes
Specifying Probes in DTrace
Enabling Probes
DTrace Action Basics
Data Recording Actions
The trace() function
The tracemem() function
The printf() function
The printa() function
The stack() function
The ustack() function
The jstack() function
Destructive Actions
Process Destructive Actions
The stop() function
The raise() function
The copyout() function
The copyoutstr() function
The system() function
Kernel Destructive Actions
The breakpoint() function
The panic() function
The chill() function
DTrace Aggregations
DTrace Aggregation Syntax
Chapter 3 Scripting With the D Language
Writing D Scripts
Executable D Scripts
D Literal Strings
Creating D Scripts That Use Arguments
DTrace Built-in Variables
Chapter 4 Using DTrace
Performance Monitoring
Examining Performance Problems With The sysinfo Provider
Tracing User Processes
Using the copyin() and copyinstr() Subroutines
Avoiding Errors
Eliminating dtrace Interference
syscall Provider
The ustack() Action
The pid Provider
User Function Boundary Tracing
Tracing Arbitrary Instructions
Anonymous Tracing
Anonymous Enablings
Claiming Anonymous State
Anonymous Tracing Examples
Speculative Tracing
Speculation Interfaces
Creating a Speculation
Using a Speculation
Committing a Speculation
Discarding a Speculation
Speculation Example
© 2010, Oracle Corporation and/or its affiliates