TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_single"
+ diag "Syscall trace single"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_ok $SESSION_NAME "open"
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_two"
+ diag "Syscall trace two events"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_ok $SESSION_NAME "open"
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_all"
+ diag "Syscall trace all events"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable all syscalls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_all_disable_one"
+ diag "Syscall trace all events and disable one"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable all syscalls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_all_disable_two"
+ diag "Syscall trace all events and disable two"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable all syscalls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_all_disable_all"
+ diag "Syscall trace all events and disable all"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable all system calls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_all_disable_all_enable_all"
+ diag "Syscall trace all events and enable/disable all"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable all system calls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_all_disable_all_twice"
+ diag "Syscall trace all events and enable/disable all twice"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable all system calls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_one_disable_one"
+ diag "Syscall trace one event and disable one"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable open system call
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_two_disable_two"
+ diag "Syscall trace two events and disable two"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable open and close system calls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_two_disable_one"
+ diag "Syscall trace two events and disable one"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
# enable open and close system calls
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_disable_twice"
+ diag "Syscall trace one event and disable twice"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_ok $SESSION_NAME "open"
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_disable_all_twice"
+ diag "Syscall trace all events and disable all twice"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_ok $SESSION_NAME
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_unknown"
+ diag "Syscall enable an unknown event"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_fail $SESSION_NAME "thissyscallcannotexist"
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_all_enable_one"
+ diag "Syscall enable all and enable one"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_ok $SESSION_NAME
TRACE_PATH=$(mktemp -d)
SESSION_NAME="kernel_syscall_enable_all_enable_one"
+ diag "Syscall disable all and disable one"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_syscall_ok $SESSION_NAME
SESSION_NAME="kernel_syscall_enable_channel_disable_all"
CHANNEL_NAME="channel"
+ diag "Syscall enable channel and disable all"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_channel_ok $SESSION_NAME $CHANNEL_NAME
SESSION_NAME="kernel_syscall_enable_channel_disable_all"
CHANNEL_NAME="channel"
+ diag "Syscall enable channel and disable one"
+
create_lttng_session $SESSION_NAME $TRACE_PATH
lttng_enable_kernel_channel_ok $SESSION_NAME $CHANNEL_NAME