Skip to content

Outputs and File Formats

FindHao edited this page Aug 31, 2025 · 4 revisions

Main tool log 🗒️

  • Filename: cutracer_main_YYYYMMDD_HHMMSS.log
  • Contents: Initialization, kernel launch lines (ctx, grid/block sizes, kernel hash), analysis messages.

Per-kernel trace log 🧾

  • Filename: kernel_<hash>_iter<idx>_<mangled_name>.log
  • Purpose: Detailed per-kernel trace output (e.g., pretty-printed register or memory trace lines) when relevant modes are active.

Histogram CSV 📄

  • Filename: kernel_<hash>_iter<idx>_<mangled_name>_hist.csv
  • Columns:
    • warp_id (int): Global warp ID.
    • region_id (int): Region ordinal within the warp (clock-to-clock segment).
    • instruction (str): SASS mnemonic (with dot modifiers), extracted from static decoding.
    • count (int): Occurrence count in the region.

Example rows:

warp_id,region_id,instruction,count
0,0,LDG.E.SYS,64
0,0,IMAD.MOV.U32,32

Notes 📝

  • Files are written to the traced process's working directory.
  • Filenames are deterministic per kernel launch: <hash> is derived from the full mangled name; <idx> is a per-kernel iteration counter.
Clone this wiki locally