Interpreting GTF and SMF global trace records
Db2 global trace data written to GTF has a GTF ID of X'0FB9' and an FID of X'00'. Records longer than the 256-byte limit of GTF are spanned by Db2.
Db2 global trace data is written to SMF as a SMF type 102 record. The following list shows the general format of these trace records:
- Each record begins with a standard SMF or GTF writer header.
- Each record next contains a self-defining section. The self-defining section always begins at the end of the writer header. It contains pointers used to find the sections of the record that contain the actual trace data. The self-defining section identifies:
- The offset to the resource manager data
- The length of one unique area
- The number of times the unique area repeats.
- The first self-defining area contains a product section.
The product section has a standard Db2 header and identifies the record and RMID. The trace header section, present for all global trace records, contains the event ID (EID).
- Each record contains a section for resource manager data.