Patent ID: 8261244

Claim:
A method comprising: identifying a first target function and a second target function; applying first instrumentation to the first target function during runtime of the first target function, wherein the applying first instrumentation comprises: determining first target function information comprising a call signature of the first target function; and placing the first target function information comprising the call signature of the first target function in a first interception site; applying second instrumentation to the second target function during runtime of the second target function, wherein the applying second instrumentation comprises: determining second target function information comprising a call signature of the second target function; and placing the second target function information comprising the call signature of the second target function in a second interception site; executing the first target function, wherein executing the first target function comprises first trace preprocessing of the first target function; and executing the second target function, wherein executing the second target function comprises second trace preprocessing of the second target function, wherein the first trace preprocessing and the second trace preprocessing are both executed by a single tracing function configured to use the call signature of the first target function in the first interception site to log register values or stack values of the first target function, and to use the call signature of the second target function in the second interception site to log register values or stack values of the second target function.