ptm2human is a decoder for trace data output by Program Trace Macrocells (PTM) as specified by ARM's PTM architecture documents.