summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b6025e9)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
EVENT_NAME="tp:tptest"
TRACE_PATH=$(mktemp -d)
EVENT_NAME="tp:tptest"
TRACE_PATH=$(mktemp -d)
+PAGE_SIZE=$(getconf PAGE_SIZE)
DIR=$(readlink -f $TESTDIR)
DIR=$(readlink -f $TESTDIR)
create_lttng_session_notap $SESSION_NAME $TRACE_PATH
create_lttng_session_notap $SESSION_NAME $TRACE_PATH
-enable_ust_lttng_channel_notap $SESSION_NAME $CHANNEL_NAME --subbuf-size=4096
+enable_ust_lttng_channel_notap $SESSION_NAME $CHANNEL_NAME --subbuf-size=$PAGE_SIZE
enable_ust_lttng_event_notap $SESSION_NAME $EVENT_NAME $CHANNEL_NAME
#This is needed since the testpoint create a pipe with the consumer type suffixed
enable_ust_lttng_event_notap $SESSION_NAME $EVENT_NAME $CHANNEL_NAME
#This is needed since the testpoint create a pipe with the consumer type suffixed