summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)