Understanding the trace table entry (TTE)

Each trace table entry is a fixed-length record consisting of a fixed-format portion (containing such items as the timestamp, thread ID, and member ID) and a member-specific portion. The member-specific portion has a fixed length, of which some (or all) can be unused. For information about how participating products use the trace table entry, see the product-specific documentation. The format of the trace table entry is shown in Figure 1.
Figure 1. Format of the trace table entry (AMODE 64)
Format of the trace table entry (AMODE 64)
Time
The 64-bit value obtained from a store clock (STCK).
Thread ID
The 8-byte thread ID of the thread that is adding the trace table entry.
Member ID and Flags
Contains 2 fields:
Member ID
The 1-byte member ID of the member making the trace table entry, as follows:
ID
Name
01
CEL
03
C/C++
08
Reserved
12
Sockets
Flags
24 flags reserved for internal use.
Member Entry Type
A number that indicates the type of the member-specific trace information that follows the field. To uniquely identify the information contained in a specific TTE, you must consider Member ID as well as Member Entry Type.
Member-Specific Information
Based on the member ID and the member entry type, this field contains the specific information for the entry, up to 104 bytes. For C/C++, the entry type of 1 is a record that records an invocation of a base C runtime library function. The entry consists of the name of the invoking function and the name of the invoked function. Entry type 2 is a record that records the return from the base library function. It contains the returned value and the value of errno.