ok $? "Traced application stopped."
stop_lttng_tracing_ok $SESSION_NAME
- destroy_lttng_session $SESSION_NAME
+ destroy_lttng_session_ok $SESSION_NAME
trace_match_only $EVENT_NAME $NR_ITER $TRACE_PATH
wait
stop_lttng_tracing_ok $SESSION_NAME
- destroy_lttng_session $SESSION_NAME
+ destroy_lttng_session_ok $SESSION_NAME
rm -f ${file_sync_after_first}
rm -f ${file_sync_before_last}