Add user input before lttng_start
This commit is contained in:
parent
d55a7f4f3c
commit
f45c3e543d
1 changed files with 3 additions and 1 deletions
|
@ -26,8 +26,10 @@ def main():
|
||||||
path = base_path + '/' + session_name
|
path = base_path + '/' + session_name
|
||||||
|
|
||||||
lttng_setup(session_name, path)
|
lttng_setup(session_name, path)
|
||||||
|
print(f'writting tracing session to: {path}')
|
||||||
|
|
||||||
|
input('press enter to start...')
|
||||||
lttng_start(session_name)
|
lttng_start(session_name)
|
||||||
print(f'tracing session started: {path}')
|
|
||||||
|
|
||||||
# TODO integrate this with launch + ROS shutdown
|
# TODO integrate this with launch + ROS shutdown
|
||||||
input('press enter to stop...')
|
input('press enter to stop...')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue