util: Add decode and encode scripts for elastic traces
Review Request #3030 - Created Aug. 11, 2015 and submitted
| Information | |
|---|---|
| Curtis Dunham | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
This patch adds python scripts to parse a protobuf encoded O3CPU
elastic trace and convert it to a text file output and vice versa.
Posted (Sept. 21, 2015, 7:57 a.m.)
-
util/decode_inst_dep_trace.py (Diff revision 1) -
I read the code. I think there is some inconsistency in the decoding and the encoding procedures. Typically, the procedures should look like inverses of each other.
-
When you are writing addr, size and flags, the code in encoding and decoding differs.
-
PC and weight are not optional in the ascii trace. You write some default values.
-
Ship It!
