Document Information
Preface
1. Introduction
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
3. Scripting With the D Language
4. Using DTrace
Index
This chapter provides a tour of the DTrace facility and provides examples of several basic tasks.