state_file=$1
kernel_event_generator_suspended=0
trap kernel_event_generator_toogle_state SIGUSR1
- trap "exit" SIGTERM SIGINT
+
while (true); do
if [[ $kernel_event_generator_suspended -eq "1" ]]; then
touch $state_file
resume_consumerd "${pipe}"
done
# Stop tracing forcing full buffer consumption
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing_ok $SESSION_NAME
# Check for notifications reception
wait_for_message $output_dir "${low_output_file_pattern}" "notification: low $i"
)
if [ "$(id -u)" == "0" ]; then
+ validate_lttng_modules_present
TESTS+=(
test_multi_app_kernel
test_on_register_evaluation_kernel