format trace.