format trace