pid Provider

compared with
Current by Alta
on Feb 23, 2009 17:19.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View page history
The {{pid}} provider allows for tracing of the entry and return of any 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.
{info:title=Note}When the compiler inlines a function, the {{pid}} provider's probe does not fire. Use one of the following methods to compile a particular C function so that it will not be inlined.
* Sun Studio: {{#pragma no_inline (funcname\[, funcname\])}}
* gcc: {{funcname \_\_attribute\_\_ ((noinline))}}
Consult your compiler documentation for updates.{info}
[Top|#top]
h2. {anchor:CHP-PID-NAMES} Naming {{pid}} Probes

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact