cpu: add support for outputing a protobuf formatted CPU trace

Doesn't support x86 due to static instruction representation.

--HG--
rename : src/cpu/CPUTracers.py => src/cpu/InstPBTrace.py
This commit is contained in:
Ali Saidi
2015-02-16 03:32:38 -05:00
parent 268d9e59c5
commit 4eff4fa12e
7 changed files with 614 additions and 0 deletions

View File

@@ -42,4 +42,5 @@ Import('*')
# Only build if we have protobuf support
if env['HAVE_PROTOBUF']:
ProtoBuf('packet.proto')
ProtoBuf('inst.proto')
Source('protoio.cc')