+enable_ust_lttng_event $SESSION_NAME $EVENT_NAME
+start_lttng_tracing $SESSION_NAME
+
+diag "Sleeping $TEST_WAIT_SEC seconds for tracing to start everywhere"
+diag "Warning: this arbitrary time can make the test fail on slower system"
+
+sleep $TEST_WAIT_SEC
+
+stop_lttng_tracing $SESSION_NAME
+destroy_lttng_session $SESSION_NAME
+
+rm -rf $TRACE_PATH
+
+while [ -n "$(pidof $TESTAPP_NAME)" ]; do
+ killall -q $TESTAPP_NAME >/dev/null 2>&1
+ sleep 0.5
+done
+
+
+pass "Kill all spawned applications"
+
+stop_lttng_sessiond