2. Types, Operators, and Expressions
Probe Clauses and Declarations
8. Type and Constant Definitions
34. Statically Defined Tracing for User Applications
D programs consist of a set of clauses that describe probes to enable and predicates and actions to bind to these probes. D programs can also contain declarations of variables, as described in Chapter 3, Variables, and definitions of new types, described in Chapter 8, Type and Constant Definitions. This chapter formally describes the overall structure of a D program and features for constructing probe descriptions that match more than one probe. We'll also discuss the use of the C preprocessor, cpp, with D programs.