Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 11.1 Dynamic Tracing Guide Oracle Solaris 11.1 Information Library |
13. Statically Defined Tracing for User Applications
17. Performance Considerations
USDT providers require that stabilities be defined for five interface groups that fully specify a DTrace probe.
The Provider
The Modules
The Functions
The Probes
The Arguments
This will generally be done in the .d file where the provider is declared with pragmas using the triplets discussed in Interface Attributes. For example:
#pragma D attributes Evolving/Evolving/Common provider providername provider #pragma D attributes Private/Private/Common provider providername module #pragma D attributes Private/Private/Common provider providername function #pragma D attributes Evolving/Evolving/Common provider providername name #pragma D attributes Evolving/Evolving/Common provider providername args