Solaris Dynamic Tracing Guide
Previous Next

Glossary

action

A behavior implemented by the DTrace framework that can be performed at probe firing time that either traces data or modifies system state external to DTrace. Actions include tracing data, stopping processes, and capturing stack traces, among others.

aggregation

An object that stores the result of an aggregating function as defined formally in Chapter 9, Aggregations, indexed by a tuple of expressions that can be used to organize the results.

clause

A D program declaration consisting of a probe specifier list, an optional predicate, and an optional list of action statements surrounded by braces { }.

consumer

A program that uses DTrace to enable instrumentation and reads out the resulting stream of trace data. The dtrace command is the canonical DTrace consumer; the lockstat(1M) utility is another specialized DTrace consumer.

DTrace

A dynamic tracing facility that provides concise answers to arbitrary questions.

enabling

A group of enabled probes and their associated predicates and actions.

predicate

A logical expression that determines whether or not a set of tracing actions should be executed when a probe fires. Each D program clause may have a predicate associated with it, surrounded by slashes / /.

probe

A location or activity in the system to which DTrace can dynamically bind instrumentation including a predicate and actions. Each probe is named by a tuple indicating its provider, module, function, and semantic name. A probe may be anchored to a particular module and function, or it may be unanchored if it is not associated with a particular program location (for example, a profile timer).

provider

A kernel module that implements a particular type of instrumentation on behalf of the DTrace framework. The provider exports a namespace of probes and a stability matrix for its name and data semantics, as shown in the chapters of this book.

subroutine

A behavior implemented by the DTrace framework that can be performed at probe firing time that modifies internal DTrace state but does not trace any data. Similar to actions, subroutines are requested using the D function call syntax.

translator

A collection of D assignment statements that convert implementation details of a particular instrumented subsystem into a object of struct type that forms an interface of greater stability than the input expression.

Previous Next