stop_lttng_tracing
# ensure each is there.
- validate_trace_exp "-e syscall_entry_open -e compat_syscall_entry_open" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_open: -e compat_syscall_entry_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
# ensure trace only contains those.
- validate_trace_only_exp "-e syscall_entry_open -e compat_syscall_entry_open -e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
+ validate_trace_only_exp "-e syscall_entry_open: -e compat_syscall_entry_open: -e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing
# ensure each is there.
- validate_trace_exp "-e syscall_entry_open -e compat_syscall_entry_open" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
- validate_trace_exp "-e syscall_entry_close -e compat_syscall_entry_close" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_close -e compat_syscall_exit_close" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_open: -e compat_syscall_entry_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_close: -e compat_syscall_entry_close:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_close: -e compat_syscall_exit_close:" $TRACE_PATH
# ensure trace only contains those.
- validate_trace_only_exp "-e syscall_entry_open -e compat_syscall_entry_open -e syscall_exit_open -e compat_syscall_exit_open -e syscall_entry_close -e compat_syscall_entry_close -e syscall_exit_close -e compat_syscall_exit_close" $TRACE_PATH
+ validate_trace_only_exp "-e syscall_entry_open: -e compat_syscall_entry_open: -e syscall_exit_open: -e compat_syscall_exit_open: -e syscall_entry_close: -e compat_syscall_entry_close: -e syscall_exit_close: -e compat_syscall_exit_close:" $TRACE_PATH
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing
# ensure at least open and close are there.
- validate_trace_exp "-e syscall_entry_open -e compat_syscall_entry_open" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
- validate_trace_exp "-e syscall_entry_close -e compat_syscall_entry_close" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_close -e compat_syscall_exit_close" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_open: -e compat_syscall_entry_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_close: -e compat_syscall_entry_close:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_close: -e compat_syscall_exit_close:" $TRACE_PATH
# trace may contain other syscalls.
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing
# ensure "open" syscall is not there.
- validate_trace_only_exp "-v -e syscall_entry_open -e compat_syscall_entry_open -e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
+ validate_trace_only_exp "-v -e syscall_entry_open: -e compat_syscall_entry_open: -e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
# ensure "close" syscall is there.
- validate_trace_exp "-e syscall_entry_close -e compat_syscall_entry_close" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_close -e compat_syscall_exit_close" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_close: -e compat_syscall_entry_close:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_close: -e compat_syscall_exit_close:" $TRACE_PATH
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing
# ensure "open" and "close" syscalls are not there.
- validate_trace_only_exp "-v -e syscall_entry_open -e compat_syscall_entry_open -e syscall_exit_open -e compat_syscall_exit_open -e syscall_entry_close -e compat_syscall_entry_close -e syscall_exit_close -e compat_syscall_exit_close" $TRACE_PATH
+ validate_trace_only_exp "-v -e syscall_entry_open: -e compat_syscall_entry_open: -e syscall_exit_open: -e compat_syscall_exit_open: -e syscall_entry_close: -e compat_syscall_entry_close: -e syscall_exit_close: -e compat_syscall_exit_close:" $TRACE_PATH
# ensure "execve" syscall is there.
- validate_trace_exp "-e syscall_entry_execve -e compat_syscall_entry_execve" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_execve -e compat_syscall_exit_execve" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_execve: -e compat_syscall_entry_execve:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_execve: -e compat_syscall_exit_execve:" $TRACE_PATH
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing
# ensure at least open and close are there.
- validate_trace_exp "-e syscall_entry_open -e compat_syscall_entry_open" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
- validate_trace_exp "-e syscall_entry_close -e compat_syscall_entry_close" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_close -e compat_syscall_exit_close" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_open: -e compat_syscall_entry_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_close: -e compat_syscall_entry_close:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_close: -e compat_syscall_exit_close:" $TRACE_PATH
# trace may contain other syscalls.
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing
# ensure open is there.
- validate_trace_exp "-e syscall_entry_open -e compat_syscall_entry_open" $TRACE_PATH
- validate_trace_exp "-e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
+ validate_trace_exp "-e syscall_entry_open: -e compat_syscall_entry_open:" $TRACE_PATH
+ validate_trace_exp "-e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
# ensure trace only contains those.
- validate_trace_only_exp "-e syscall_entry_open -e compat_syscall_entry_open -e syscall_exit_open -e compat_syscall_exit_open" $TRACE_PATH
+ validate_trace_only_exp "-e syscall_entry_open: -e compat_syscall_entry_open: -e syscall_exit_open: -e compat_syscall_exit_open:" $TRACE_PATH
destroy_lttng_session $SESSION_NAME