Trace: fix the --trace-start option

This commit is contained in:
Ali Saidi 2009-02-26 19:29:16 -05:00
parent 4a64493158
commit 894925f135

View 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()