A computer system is provided with memory divided by the operating system
into kernel space and user space. A probe function is provided in a
related user-space application to support dynamic insertion of
instrumentation into the application. A breakpoint instruction is
provided in an area of the process's user space that will not be
overwritten to support execution of an instrumentation subroutine when a
probed subroutine in the application returns.