trace: Rename prof to trace and improve comments