Trace File
Currently only SPIKE traces are supported. However, as only the PC and encoding is required to generate the trace supporting other formats should be trivial.
After parsing (_spike.parse_spike_log) a doubly-linked-list of all instructions observed in the given application is available (_trace.TRACE) for each processor ID.
Trace Object
The _trace.Trace class is a linked list element that contains all information regarding the current, previous, and next executed instruction.
By having reference to the previous and next instruction the user can inspect the application for sequences, for example:
A register dependency between a 2 subsequent instructions
The distance between a branch / jump instruction and its destination