DTrace User Guide

The trace() function

void trace(expression)

The most basic action is the trace() action, which takes a D expression as its argument and traces the result to the directed buffer.