A method for tracing an instrumented program involves triggering a probe
in the instrumented program, obtaining an original instruction associated
with the probe, storing the original instruction into a scratch space,
storing a jump instruction for an architecture that supports pc-relative
addressing into the scratch space, wherein the jump instruction includes
a next program counter value, executing the original instruction in the
scratch space using a thread, and executing the jump instruction in the
scratch space using the thread.