A method for tracing an instrumented program, including associating an
instrumentation provider with a trace point to provide a probe in the
instrumented program, selectively enabling the probe to obtain an enabled
probe, wherein enabling the probe includes defining an action to perform
when the enabled probe is fired, firing the enabled probe during
execution of the instrumented program, and performing the action when the
enabled probe is fired, wherein the action is performed by a tracing
framework.