1# -*- mode:python -*-
2
3# Copyright (c) 2006 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 122 unchanged lines hidden (view full) ---

131 Source('legiontrace.cc')
132
133if env['TARGET_ISA'] == 'x86':
134 SimObject('NativeTrace.py')
135 Source('nativetrace.cc')
136
137if env['USE_CHECKER']:
138 Source('checker/cpu.cc')
139 TraceFlag('Checker')
140 checker_supports = False
141 for i in CheckerSupportedCPUList:
142 if i in env['CPU_MODELS']:
143 checker_supports = True
144 if not checker_supports:
145 print "Checker only supports CPU models",
146 for i in CheckerSupportedCPUList:
147 print i,
148 print ", please set USE_CHECKER=False or use one of those CPU models"
149 Exit(1)
150
151TraceFlag('Activity')
152TraceFlag('Commit')
153TraceFlag('Decode')
154TraceFlag('DynInst')
155TraceFlag('ExecEnable')
156TraceFlag('ExecCPSeq')
157TraceFlag('ExecEffAddr')
158TraceFlag('ExecFetchSeq')
159TraceFlag('ExecOpClass')
160TraceFlag('ExecRegDelta')
161TraceFlag('ExecResult')
162TraceFlag('ExecSpeculative')
163TraceFlag('ExecSymbol')
164TraceFlag('ExecThread')
165TraceFlag('ExecTicks')
166TraceFlag('Fetch')
167TraceFlag('IntrControl')
168TraceFlag('PCEvent')
169TraceFlag('Quiesce')
170
171CompoundFlag('Exec', [ 'ExecEnable', 'ExecTicks', 'ExecOpClass', 'ExecThread',
172 'ExecEffAddr', 'ExecResult', 'ExecSymbol' ])