pass "Wait for events to record"
for i in `seq 0 3`; do
- stop_lttng_tracing "$SESSION_NAME-$i"
+ stop_lttng_tracing_ok "$SESSION_NAME-$i"
destroy_lttng_session "$SESSION_NAME-$i"
out=$(babeltrace "$TRACE_PATH/$i" | grep "$EVENT_NAMEi$i" | wc -l)
if [ $out -ne $NR_ITER ]; then