enable_ust_lttng_event $SESSION_NAME "$event_wild1"
enable_ust_lttng_event $SESSION_NAME "$event_wild2"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==0"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==0"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==0"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==0"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_no_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==0"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==0"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_matches $DEMO_EVENT1 $NUM_DEMO1_EVENT $TRACE_PATH
trace_matches $DEMO_EVENT1_2 0 $TRACE_PATH
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==0"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==0"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_no_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1&&1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
fail "Enable event $event_name with filtering for session $sess_name twice failure NOT detected"
fi
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==0"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==0&&1==0"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==0"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_no_demo_events
return $?
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild1" "1==1&&1==1"
enable_ust_lttng_event_filter $SESSION_NAME "$event_wild2" "1==1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_matches $DEMO_EVENT1 $NUM_DEMO1_EVENT $TRACE_PATH
trace_matches $DEMO_EVENT1_2 0 $TRACE_PATH
disable_ust_lttng_event $SESSION_NAME "ust*"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_no_demo_events
return $?
enable_ust_lttng_event $SESSION_NAME "$event_wild2"
enable_ust_lttng_event $SESSION_NAME "$event_wild3"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_no_demo_events
return $?
enable_ust_lttng_event $SESSION_NAME "$event_wild1"
enable_ust_lttng_event $SESSION_NAME "$event_wild2"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild1" "TRACE_WARNING"
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild2" "TRACE_CRIT"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild1" "TRACE_WARNING"
enable_ust_lttng_event_loglevel_only $SESSION_NAME "$event_wild2" "TRACE_CRIT"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild1" "TRACE_WARNING"
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild2" "TRACE_CRIT"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild1" "TRACE_CRIT"
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild2" "TRACE_WARNING"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_match_all_demo_events
return $?
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild1" "TRACE_CRIT"
enable_ust_lttng_event_loglevel $SESSION_NAME "$event_wild2" "TRACE_WARNING"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
trace_matches $DEMO_EVENT1 $NUM_DEMO1_EVENT $TRACE_PATH
trace_matches $DEMO_EVENT1_2 0 $TRACE_PATH
disable_ust_lttng_event $SESSION_NAME "$event_wild1"
disable_ust_lttng_event $SESSION_NAME "$event_wild2"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
# No events are expected.
trace_match_no_demo_events
disable_ust_lttng_event $SESSION_NAME "$event_wild1"
- start_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ start_lttng_tracing $SESSION_NAME
run_demo_app
- stop_lttng_tracing $SESSION_NAME >/dev/null 2>&1
+ stop_lttng_tracing $SESSION_NAME
# Expect only "ust_tests_demo" events.
trace_matches "$DEMO_EVENT1" $NUM_DEMO1_EVENT $TRACE_PATH
TRACE_PATH=$(mktemp -d)
- create_lttng_session $SESSION_NAME $TRACE_PATH >/dev/null 2>&1
+ create_lttng_session $SESSION_NAME $TRACE_PATH
# Execute test
${TESTS[$i]}
- if [ $? -ne 0 ]; then
- stop_lttng_sessiond
- exit 1
- fi
- destroy_lttng_session $SESSION_NAME >/dev/null 2>&1
+ destroy_lttng_session $SESSION_NAME
rm -rf $TRACE_PATH