Solaris Dynamic Tracing Guide

Speculation Interfaces

The following table describes the DTrace speculation functions:

Table 13–1 DTrace Speculation Functions

Function Name 

Args 

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 associated with ID 

discard

ID 

Discards the speculative buffer associated with ID