Trace: fix the --trace-start option
authorAli Saidi <saidi@eecs.umich.edu>
Fri, 27 Feb 2009 00:29:16 +0000 (19:29 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Fri, 27 Feb 2009 00:29:16 +0000 (19:29 -0500)
src/python/m5/main.py

index f562835da7c3f4db5ad4f5e80a01a5433636e2f2..98019b1974acdc017eeb2cc1b03ab4724eae69bf 100644 (file)
@@ -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()