| Index: systrace/systrace/run_systrace.py
|
| diff --git a/systrace/systrace/run_systrace.py b/systrace/systrace/run_systrace.py
|
| index 6a18095600dc423fb8076c40bc4e735399a1ce23..168f4063a823e90c20496bd4f35d0dd4ba3761ea 100755
|
| --- a/systrace/systrace/run_systrace.py
|
| +++ b/systrace/systrace/run_systrace.py
|
| @@ -24,6 +24,7 @@ if version != (2, 7):
|
| import imp
|
| import optparse
|
| import os
|
| +import time
|
|
|
|
|
| # The default agent directory.
|
| @@ -200,6 +201,9 @@ def main():
|
| for a in agents:
|
| a.StartAgentTracing(options, categories, 10)
|
|
|
| + if options.trace_time:
|
| + time.sleep(options.trace_time)
|
| +
|
| for a in agents:
|
| a.StopAgentTracing(10)
|
|
|
|
|