sun.com docs.sun.com My Sun Worldwide Sites
DTrace User Guide


May 2006
This book serves as an introduction to the dynamic tracing capabilities introduced in Solaris 10. The basic features of the DTrace framework are introduced. The book contains extensive examples of basic DTrace functions.
++

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

Company Info Contact Terms of Use Privacy Copyright 1994-2006 Sun Microsystems, Inc.