summaryrefslogtreecommitdiff
path: root/src/python/m5/trace.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/trace.py')
-rw-r--r--src/python/m5/trace.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/python/m5/trace.py b/src/python/m5/trace.py
index c97263c9b..14bab77a3 100644
--- a/src/python/m5/trace.py
+++ b/src/python/m5/trace.py
@@ -28,6 +28,7 @@
import internal
import traceflags as flags
+import util
from internal.trace import clear, output, set, ignore
@@ -36,13 +37,13 @@ def enable():
def help():
print "Base Flags:"
- for flag in trace.flags.basic:
- print " %s: %s" % (flag, trace.flags.descriptions[flag])
+ for flag in flags.basic:
+ print " %s: %s" % (flag, flags.descriptions[flag])
print
print "Compound Flags:"
- for flag in trace.flags.compound:
+ for flag in flags.compound:
if flag == 'All':
continue
- print " %s: %s" % (flag, trace.flags.descriptions[flag])
- print_list(trace.flags.compoundMap[flag], indent=8)
+ print " %s: %s" % (flag, flags.descriptions[flag])
+ util.print_list(flags.compoundMap[flag], indent=8)
print