Format trace