TESTAPP_PATH="$TESTDIR/utils/testapp"
TESTAPP_NAME="gen-ust-events"
TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
-NUM_EVENT=10000
+NUM_EVENT=1000
EVENT_NAME="tp:tptest"
TESTS_PER_NS=13
local session_name="${ns}_ns"
local chan_name="${ns}_ns"
local context_name="${ns}_ns"
-
local trace_path
local ns_inode
return
fi
+ trace_path=$(mktemp --tmpdir -d -t "tmp.${FUNCNAME[0]}_trace_path.XXXXXX")
+
# Get the current ns inode number
ns_inode=$(stat -c '%i' -L "/proc/$$/ns/$ns")
ok $? "Get current $ns namespace inode: $ns_inode"
- trace_path=$(mktemp -d)
-
start_lttng_sessiond
create_lttng_session_ok "$session_name" "$trace_path"
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
+
system_has_ns=0
if [ -d "/proc/$$/ns" ]; then
system_has_ns=1