Dynamic Trace Customiser (TRCUST) - Reference

OS/2 provides a mechanism by which developers may dynamically apply tracepoints in their module at run time. This method eliminates all overhead of tracing when tracing is disabled. It also allows the developer to add tracepoints without modifying source code. This reduces the possibility that adding a tracepoint will induce errors into one's code. OS/2 needs a binary file, for each module being dynamically traced, which defines the tracepoints for the module.

Note:

Information given here refers to the following versions of the system tracing tools except where explicitly noted:

Note:

There are certain restrictions on the use of dynamic trace which should be noted. These are:

The Trace Customizer (TRCUST) converts tracepoint definitions from a trace source file (TSF) into dynamic tracepoints for the trace definition file (TDF), and into formatting rules in the trace format file (TFF).

TRCUST provides a high-level access to Dynamic Trace, particularly suitable for use by developers. The associated DTRACE tool provides a very low-level interface to Dynamic Trace, which is suitable for attacking complex problems. Full details of the Dynmaic Trace facility may be found in The Dynamic Trace Facility And The DTRACE Tool.

Definitions

  • TSF .TDF .TFF major code minor code GROUP TYPE


    [Back: Trace Event Parameters]
    [Next: Overview]