2.1 D Program Structure

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 Section 2.9, “Variables”, and definitions of new types, described in Section 2.13, “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 will also discuss the use of the C preprocessor, cpp, with D programs.