{
diag "*** Exiting ***"
stop_lttng_sessiond
- modprobe -r lttng-test lttng-clock-plugin-test lttng-clock
+ modprobe --remove lttng-test lttng-clock-plugin-test lttng-clock
full_cleanup
}
destroy_lttng_session_ok $SESSION_NAME
stop_lttng_sessiond
- modprobe -r lttng-test lttng-clock-plugin-test lttng-clock
+ modprobe --remove lttng-test lttng-clock-plugin-test lttng-clock
local TRACE_METADATA_FILE_PATH="$(find "$TRACE_PATH" -name metadata -type f)"
local TRACE_METADATA_DIR="$(dirname "$TRACE_METADATA_FILE_PATH")"
cut -d, -f1 | uniq | wc -l)
test $unique_timestamps_count -gt 1
ok $? "Unique event timestamps without clock override: $unique_timestamps_count expect >1"
- rmmod lttng-test
+ modprobe --remove lttng-test
stop_lttng_sessiond
# Test with clock override plugin.
stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session_ok $SESSION_NAME
- rmmod lttng-test
stop_lttng_sessiond
- rmmod lttng-clock-plugin-test
- rmmod lttng-clock
+ modprobe --remove lttng-clock-plugin-test lttng-clock lttng-test
# Use Babeltrace with "-n all" to give a comma separated list for
# easy extraction of timestamps.
wait $generator_pid 2> /dev/null
rm -rf ${TESTAPP_STATE_FILE} 2> /dev/null
- rmmod lttng-test
+ modprobe --remove lttng-test
}
function test_on_register_evaluation_ust ()
wait $generator_pid 2> /dev/null
rm -rf ${TESTAPP_STATE_FILE} 2> /dev/null
- rmmod lttng-test
+ modprobe --remove lttng-test
}
function test_on_register_evaluation ()