Add user input before lttng_start

This commit is contained in:
Christophe Bedard 2019-06-06 09:29:38 +02:00
parent d55a7f4f3c
commit f45c3e543d

View file

@ -26,8 +26,10 @@ def main():
path = base_path + '/' + session_name
lttng_setup(session_name, path)
print(f'writting tracing session to: {path}')
input('press enter to start...')
lttng_start(session_name)
print(f'tracing session started: {path}')
# TODO integrate this with launch + ROS shutdown
input('press enter to stop...')