The multi-app notification test creates channel with 4096 byte
subbuffers. However, this is not supported on architectures
with larger pages, such as PPC64el.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
DIR=$(readlink -f $TESTDIR)
DIR=$(readlink -f $TESTDIR)
+PAGE_SIZE=$(getconf PAGE_SIZE)
+
NUM_TESTS=46
source $TESTDIR/utils/utils.sh
NUM_TESTS=46
source $TESTDIR/utils/utils.sh
rm ${file_sync_after_first_event}
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
rm ${file_sync_after_first_event}
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
- enable_ust_lttng_channel_ok $SESSION_NAME $UST_CHANNEL_NAME --subbuf-size=4096
+ enable_ust_lttng_channel_ok $SESSION_NAME $UST_CHANNEL_NAME --subbuf-size=$PAGE_SIZE
enable_ust_lttng_event_ok $SESSION_NAME $EVENT_NAME $UST_CHANNEL_NAME
# Fetch consumerd testpoint pipe information
enable_ust_lttng_event_ok $SESSION_NAME $EVENT_NAME $UST_CHANNEL_NAME
# Fetch consumerd testpoint pipe information