From 182fc771eeca066df19f296ebc19d9593d1092b1 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Thu, 6 Jun 2019 09:23:48 +0200 Subject: [PATCH] Use enter key to stop tracing instead of sleep() --- trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace.py b/trace.py index 901073b..cfc0c04 100644 --- a/trace.py +++ b/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)