Go to main content

Oracle® Solaris 11.4 DTrace (Dynamic Tracing) Guide

Exit Print View

Updated: September 2020
 
 

Stability Interfaces Defined for USDT Providers

    USDT providers require that stabilities be defined for the following five interface groups that fully specify a DTrace probe:

  • Provider

  • Modules

  • Functions

  • Probes

  • Arguments

This will generally be done in the D program file where the provider is declared with pragmas using the triplets discussed in Stability 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