Oracle® Solaris 11.2 Dynamic Tracing Guide

Exit Print View

Updated: July 2014
 
 

USDT Interfaces

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