runtime.run(cmd, cwd=app_path)
# Stop tracing
+ runtime.run('lttng stop')
runtime.run('lttng destroy -a')
cp = runtime.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime.run(cmd, cwd=app_path)
# Stop tracing
+ runtime.run('lttng stop')
runtime.run('lttng destroy -a')
cp = runtime.subprocess_terminate(sessiond)
if cp.returncode != 0: