i use the command like this
build/ARM/gem5.opt --debug-flags=ElasticTrace --debug-file=ET.out configs/example/se.py --cpu-type=DerivO3CPU --caches --cmd=a.out --options=$M5_PATH/data/bzip2/lgred/input/input.source -I 10000 --elastic-trace-en --enable-trace --data-trace-file=deptrace.proto.gz --inst-trace-file=fetchtrace.proto.gz --mem-type=SimpleMemory
the deptrace.proto.gz and the fetchtrace.proto.gz are two files in protobuf format, and i use the command to check the information like this
protoc --decode_raw < system.cpu.traceListener.deptrace.proto.gz > dectrace.txt
and there is error: Failed to parse input.
also use the command like this
protoc --decode=DepRecord deptrace.proto
result:Invalid control characters encountered in text.
Interpreting non ascii codepoint 176.
i want to check the information in the two file, and use the util/decode_inst_dep_trace.py
in ASCII format.