Patent ID: 7475386
Filing Date: 2009-01-06
Classification: G06F

Abstract:
1. A method for tracing an instrumented program, comprising: registering an instrumentation provider with a tracing framework; associating the instrumentation provider with a trace point to provide a probe in the instrumented program; selectively enabling the probe to obtain an enabled probe in response to a request from a first tracing consumer; and, firing the enabled probe during execution of the instrumented program; transferring control flow to the tracing framework when the enabled probe is fired, wherein transferring control flow to the tracing framework is performed using the mechanism specific to the instrumentation provider; and performing a first action associated with the probe for the first tracing consumer selected from the plurality of multiplexed tracing consumers; and performing a second action associated with the probe for a second tracing consumer selected from the plurality of multiplexed tracing consumers, wherein the first action and the second action are performed by the tracing framework after control flow is transferred to the tracing framework.