Use enter key to stop tracing instead of sleep()
This commit is contained in:
parent
93d062d2c4
commit
182fc771ee
1 changed files with 1 additions and 1 deletions
2
trace.py
2
trace.py
|
@ -19,7 +19,7 @@ def main(argv=sys.argv):
|
|||
print('tracing session started')
|
||||
|
||||
# TODO integrate this with launch + ROS shutdown
|
||||
time.sleep(5)
|
||||
input('press enter to stop...')
|
||||
|
||||
print('stopping & destroying tracing session')
|
||||
lttng_stop(session_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue