summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2009-02-26 19:29:16 -0500
committerAli Saidi <saidi@eecs.umich.edu>2009-02-26 19:29:16 -0500
commit894925f1350409c40106aa6a0cc4d5cc31fa2b84 (patch)
treecde674bdd60b82edbeff2e84c09e68655c7618f6 /src
parent4a644931589499a444cafe8a7c6eeec614b8bdb7 (diff)
downloadgem5-894925f1350409c40106aa6a0cc4d5cc31fa2b84.tar.xz
Trace: fix the --trace-start option
Diffstat (limited to 'src')
-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 f562835da..98019b197 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -312,7 +312,7 @@ def main():
if options.trace_start:
check_tracing()
- e = event.create(trace.enable, Event.Trace_Enable_Pri)
+ e = event.create(trace.enable, event.Event.Trace_Enable_Pri)
event.mainq.schedule(e, options.trace_start)
else:
trace.enable()