DTrace User Guide

Speculation Interfaces

The following table describes the DTrace speculation functions.

Table 4–1 DTrace Speculation Functions

Function Name 

Arguments 

Description 

speculation

None 

Returns an identifier for a new speculative buffer 

speculate

ID 

Denotes that the remainder of the clause should be traced to the speculative buffer specified by ID 

commit

ID 

Commits the speculative buffer that is associated with ID 

discard

ID 

Discards the speculative buffer associated with ID