A C library to easily create "generic" (architecture independent) trace files for trcview.
Write your code, include trace.h
, link it with trace.c
. That's it.
The demo program demo.c
creates a simple trace file with a few steps, memory
accesses and an mmap event.
Compile the demo with:
gcc -o demo demo.c trace.c