Ray's Knowledge Base
Unlock

Run real-trace checks on scratch copies with the current viewer binary

PreferenceVerified 30 Sep 2026Holds project: dftracer-utils
Preference. A rule, why it holds, and how to apply it.

Rule#

Copy chosen real trace files into the session scratch directory before running dftracer_view on them. Use the current build's build/build-tests/bin/dftracer_view.

Why#

The viewer writes index folders beside traces. The user does not want those files in the source trace collection. Observer inbox 5f2574cd39 also notes that an old harness can still point at a release binary.

How to apply#

Point the check at the copied traces and inspect the executable path before starting it. Leave the original trace collection unchanged.

Also found by searching

  • dftracer_view on /data/traces created .dftindex folders inside the original trace collection
  • running the viewer on real traces leaves index files next to my source traces and maybe used an old binary
  • how should I run dftracer_view checks on real trace files without modifying them?
  • test on copies of traces in scratch, use build/build-tests/bin/dftracer_view not installed release binary
  • dftracer_view wrote .dftindex folders next to my real trace files
  • how do I run the viewer against real traces without polluting the trace collection?
  • which dftracer_view binary should I use for a real-trace check, old release binary vs build/build-tests/bin
  • verify behaviour on real trace data safely, copy to scratch first