Trace: fix the --trace-start option
This commit is contained in:
parent
4a64493158
commit
894925f135
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue