pid Function Offset Probes

The pid provider lets you trace any instruction in a function. For example to trace the instruction 4 bytes into a function main, you can use the following command:

pid123:a.out:main:4

Every time the program executes the instruction at address main+4, this probe will be activated. The arguments for offset probes are undefined. The uregs[] array will help you to examine process state at these probe sites. For more information, see uregs[] Array.