An improved method, apparatus, and computer instructions for generating
trace data. In response to detecting a trace event, a determination is
made as to whether identifiers for the trace event match recorded
identifiers for a record in a set of previously recorded trace events.
Location information for the record is placed in the trace data if a
match between identifiers for the trace event and recorded identifiers
for the record in the set of previously recorded trace events.