Chapter 4 Actions and Subroutines

You can use D function calls such as trace and printf to invoke two different kinds of services provided by DTrace: actions that trace data or modify state external to DTrace, and subroutines that affect only internal DTrace state.

This chapter defines actions and subroutines, and describes their syntax and semantics.