On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com
How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy
Table of Contents
Document Information
Preface
Who Should Use This Book
How This Book Is Organized
Related Information
Documentation, Support, and Training
Sun Welcomes Your Comments
Typographic Conventions
Shell Prompts in Command Examples
Introduction
Getting Started
Providers and Probes
Compilation and Instrumentation
Variables and Arithmetic Expressions
Predicates
Output Formatting
Arrays
External Symbols and Types
Types, Operators, and Expressions
Identifier Names and Keywords
Data Types and Sizes
Constants
Arithmetic Operators
Relational Operators
Logical Operators
Bitwise Operators
Assignment Operators
Increment and Decrement Operators
Conditional Expressions
Type Conversions
Precedence
Variables
Scalar Variables
Associative Arrays
Thread-Local Variables
Clause-Local Variables
Built-in Variables
External Variables
D Program Structure
Probe Clauses and Declarations
Probe Descriptions
Predicates
Actions
Use of the C Preprocessor
Pointers and Arrays
Pointers and Addresses
Pointer Safety
Array Declarations and Storage
Pointer and Array Relationship
Pointer Arithmetic
Generic Pointers
Multi-Dimensional Arrays
Pointers to DTrace Objects
Pointers and Address Spaces
Strings
String Representation
String Constants
String Assignment
String Conversion
String Comparison
Structs and Unions
Structs
Pointers to Structs
Unions
Member Sizes and Offsets
Bit-Fields
Type and Constant Definitions
Typedef
Enumerations
Inlines
Type Namespaces
Aggregations
Aggregating Functions
Aggregations
Printing Aggregations
Data Normalization
Clearing Aggregations
Truncating aggregations
Minimizing Drops
Actions and Subroutines
Actions
Default Action
Data Recording Actions
Destructive Actions
Special Actions
Subroutines
Buffers and Buffering
Principal Buffers
Principal Buffer Policies
Other Buffers
Buffer Sizes
Buffer Resizing Policy
Output Formatting
printf()
printa()
trace() Default Format
Speculative Tracing
Speculation Interfaces
Creating a Speculation
Using a Speculation
Committing a Speculation
Discarding a Speculation
Speculation Example
Speculation Options and Tuning
dtrace(1M) Utility
Description
Options
Operands
Exit Status
Scripting
Interpreter Files
Macro Variables
Macro Arguments
Target Process ID
Options and Tunables
Consumer Options
Modifying Options
dtrace Provider
BEGIN Probe
The END Probe
ERROR Probe
Stability
lockstat Provider
Overview
Adaptive Lock Probes
Spin Lock Probes
Thread Locks
Readers/Writer Lock Probes
Stability
profile Provider
profile-n probes
tick-n probes
Arguments
Timer Resolution
Probe Creation
Stability
fbt Provider
Probes
Probe arguments
Examples
Tail-call Optimization
Assembly Functions
Instruction Set Limitations
Breakpoint Interaction
Module Loading
Stability
syscall Provider
Probes
Arguments
Stability
sdt Provider
Probes
Examples
Creating SDT Probes
Stability
sysinfo Provider
Probes
Arguments
Example
Stability
vminfo Provider
Probes
Arguments
Example
Stability
proc Provider
Probes
Arguments
Examples
Stability
sched Provider
Probes
Arguments
Examples
Stability
io Provider
Probes
Arguments
Examples
Stability
mib Provider
Probes
Arguments
Stability
fpuinfo Provider
Probes
Arguments
Stability
pid Provider
Naming pid Probes
Function Boundary Probes
Function Offset Probes
Stability
plockstat Provider
Overview
Mutex Probes
Reader/Writer Lock Probes
Stability
fasttrap Provider
Probes
Stability
User Process Tracing
copyin() and copyinstr() Subroutines
Eliminating dtrace(1M) Interference
syscall Provider
ustack() Action
uregs[] Array
pid Provider
Statically Defined Tracing for User Applications
Choosing the Probe Points
Adding Probes to an Application
Security
Privileges
Privileged Use of DTrace
dtrace_proc Privilege
dtrace_user Privilege
dtrace_kernel Privilege
Super User Privileges
Anonymous Tracing
Anonymous Enablings
Claiming Anonymous State
Anonymous Tracing Examples
Postmortem Tracing
Displaying DTrace Consumers
Displaying Trace Data
Performance Considerations
Limit Enabled Probes
Use Aggregations
Use Cacheable Predicates
Stability
Stability Levels
Dependency Classes
Interface Attributes
Stability Computations and Reports
Stability Enforcement
Translators
Translator Declarations
Translate Operator
Process Model Translators
Stable Translations
Versioning
Versions and Releases
Versioning Options
Provider Versioning
Glossary
Index
Index
Index
Index
Index
Published under the terms fo the Public Documentation License Version 1.01.
Design by Interspire
x