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:
@@ -35,6 +35,11 @@ if env['TARGET_ISA'] == 'null':
|
||||
Source('intr_control_noisa.cc')
|
||||
Return()
|
||||
|
||||
# Only build the protocol buffer instructions tracer if we have protobuf support
|
||||
if env['HAVE_PROTOBUF'] and env['TARGET_ISA'] != 'x86':
|
||||
SimObject('InstPBTrace.py')
|
||||
Source('inst_pb_trace.cc')
|
||||
|
||||
SimObject('CheckerCPU.py')
|
||||
|
||||
SimObject('BaseCPU.py')
|
||||
|
||||
Reference in New Issue
Block a user