SConscript (11162:63d53fd63269) SConscript (13898:bef1a83c6504)
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

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

25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Steve Reinhardt
30
31Import('*')
32
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

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

25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Steve Reinhardt
30
31Import('*')
32
33DebugFlag('Activity')
34DebugFlag('Commit')
35DebugFlag('Context')
36DebugFlag('Decode')
37DebugFlag('DynInst')
38DebugFlag('ExecEnable',
39 'Filter: Enable exec tracing (no tracing without this)')
40DebugFlag('ExecCPSeq', 'Format: Instruction sequence number')
41DebugFlag('ExecEffAddr', 'Format: Include effective address')
42DebugFlag('ExecFaulting', 'Trace faulting instructions')
43DebugFlag('ExecFetchSeq', 'Format: Fetch sequence number')
44DebugFlag('ExecOpClass', 'Format: Include operand class')
45DebugFlag('ExecRegDelta')
46DebugFlag('ExecResult', 'Format: Include results from execution')
47DebugFlag('ExecSymbol', 'Format: Try to include symbol names')
48DebugFlag('ExecThread', 'Format: Include thread ID in trace')
49DebugFlag('ExecTicks', 'Format: Include tick count')
50DebugFlag('ExecMicro', 'Filter: Include microops')
51DebugFlag('ExecMacro', 'Filter: Include macroops')
52DebugFlag('ExecUser', 'Filter: Trace user mode instructions')
53DebugFlag('ExecKernel', 'Filter: Trace kernel mode instructions')
54DebugFlag('ExecAsid', 'Format: Include ASID in trace')
55DebugFlag('ExecFlags', 'Format: Include instruction flags in trace')
56DebugFlag('Fetch')
57DebugFlag('IntrControl')
58DebugFlag('O3PipeView')
59DebugFlag('PCEvent')
60DebugFlag('Quiesce')
61DebugFlag('Mwait')
62
63CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr',
64 'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta',
65 'ExecResult', 'ExecSymbol', 'ExecThread',
66 'ExecTicks', 'ExecMicro', 'ExecMacro', 'ExecUser', 'ExecKernel',
67 'ExecAsid', 'ExecFlags' ])
68CompoundFlag('Exec', [ 'ExecEnable', 'ExecTicks', 'ExecOpClass', 'ExecThread',
69 'ExecEffAddr', 'ExecResult', 'ExecSymbol', 'ExecMicro', 'ExecMacro',
70 'ExecFaulting', 'ExecUser', 'ExecKernel' ])
71CompoundFlag('ExecNoTicks', [ 'ExecEnable', 'ExecOpClass', 'ExecThread',
72 'ExecEffAddr', 'ExecResult', 'ExecMicro', 'ExecMacro', 'ExecFaulting',
73 'ExecUser', 'ExecKernel' ])
74
33if env['TARGET_ISA'] == 'null':
34 SimObject('IntrControl.py')
35 Source('intr_control_noisa.cc')
36 Return()
37
38# Only build the protocol buffer instructions tracer if we have protobuf support
39if env['HAVE_PROTOBUF'] and env['TARGET_ISA'] != 'x86':
40 SimObject('InstPBTrace.py')

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

67Source('thread_state.cc')
68Source('timing_expr.cc')
69
70SimObject('DummyChecker.py')
71SimObject('StaticInstFlags.py')
72Source('checker/cpu.cc')
73Source('dummy_checker.cc')
74DebugFlag('Checker')
75if env['TARGET_ISA'] == 'null':
76 SimObject('IntrControl.py')
77 Source('intr_control_noisa.cc')
78 Return()
79
80# Only build the protocol buffer instructions tracer if we have protobuf support
81if env['HAVE_PROTOBUF'] and env['TARGET_ISA'] != 'x86':
82 SimObject('InstPBTrace.py')

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

109Source('thread_state.cc')
110Source('timing_expr.cc')
111
112SimObject('DummyChecker.py')
113SimObject('StaticInstFlags.py')
114Source('checker/cpu.cc')
115Source('dummy_checker.cc')
116DebugFlag('Checker')
75
76DebugFlag('Activity')
77DebugFlag('Commit')
78DebugFlag('Context')
79DebugFlag('Decode')
80DebugFlag('DynInst')
81DebugFlag('ExecEnable', 'Filter: Enable exec tracing (no tracing without this)')
82DebugFlag('ExecCPSeq', 'Format: Instruction sequence number')
83DebugFlag('ExecEffAddr', 'Format: Include effective address')
84DebugFlag('ExecFaulting', 'Trace faulting instructions')
85DebugFlag('ExecFetchSeq', 'Format: Fetch sequence number')
86DebugFlag('ExecOpClass', 'Format: Include operand class')
87DebugFlag('ExecRegDelta')
88DebugFlag('ExecResult', 'Format: Include results from execution')
89DebugFlag('ExecSymbol', 'Format: Try to include symbol names')
90DebugFlag('ExecThread', 'Format: Include thread ID in trace')
91DebugFlag('ExecTicks', 'Format: Include tick count')
92DebugFlag('ExecMicro', 'Filter: Include microops')
93DebugFlag('ExecMacro', 'Filter: Include macroops')
94DebugFlag('ExecUser', 'Filter: Trace user mode instructions')
95DebugFlag('ExecKernel', 'Filter: Trace kernel mode instructions')
96DebugFlag('ExecAsid', 'Format: Include ASID in trace')
97DebugFlag('ExecFlags', 'Format: Include instruction flags in trace')
98DebugFlag('Fetch')
99DebugFlag('IntrControl')
100DebugFlag('O3PipeView')
101DebugFlag('PCEvent')
102DebugFlag('Quiesce')
103DebugFlag('Mwait')
104
105CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr',
106 'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta',
107 'ExecResult', 'ExecSymbol', 'ExecThread',
108 'ExecTicks', 'ExecMicro', 'ExecMacro', 'ExecUser', 'ExecKernel',
109 'ExecAsid', 'ExecFlags' ])
110CompoundFlag('Exec', [ 'ExecEnable', 'ExecTicks', 'ExecOpClass', 'ExecThread',
111 'ExecEffAddr', 'ExecResult', 'ExecSymbol', 'ExecMicro', 'ExecMacro',
112 'ExecFaulting', 'ExecUser', 'ExecKernel' ])
113CompoundFlag('ExecNoTicks', [ 'ExecEnable', 'ExecOpClass', 'ExecThread',
114 'ExecEffAddr', 'ExecResult', 'ExecMicro', 'ExecMacro', 'ExecFaulting',
115 'ExecUser', 'ExecKernel' ])