summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-02-21 14:08:13 -0800
committerNathan Binkert <binkertn@umich.edu>2007-02-21 14:08:13 -0800
commit2a67f2b08cb2d478c3b425d778a75bb2ce46a813 (patch)
treeffeca6f2f96c7e322e857c27e3e0927be0d9e774 /src/python/m5
parenta329631edbf18d01f5f84b57147bdd69f1e2e6b3 (diff)
downloadgem5-2a67f2b08cb2d478c3b425d778a75bb2ce46a813.tar.xz
Fix tracing so it starts right away if --trace-start is not
specified. --HG-- extra : convert_revision : 49c1ea0b8c313949124aed84b1055db0b3c55bd8
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index 48c75434f..37df884d0 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -297,7 +297,7 @@ def main():
internal.trace.cvar.enabled = True
internal.event.create(enable_trace, int(options.trace_start))
else:
- internal.trace.enabled = True
+ internal.trace.cvar.enabled = True
internal.trace.output(options.trace_file)