Solaris Dynamic Tracing Guide
Previous Next
Chapter 30

pid Provider

The pid provider allows for tracing of the entry and return of a function in a user process as well as any instruction as specified by an absolute address or function offset. The pid provider has no probe effect when probes are not enabled. When probes are enabled, the probes only induce probe effect on those processes that are traced.


Note - When the compiler inlines a function, the pid provider's probe does not fire. To avoid inlining a function at compile time, consult the documentation for your compiler.



Note - The pid provider behaves unpredictably when it probes a function that uses function pointers to call a sub-function. You can explicitly place probes at the addresses of the function's entry and return to analyze such functions.


Previous Next