FULL_LTTNG_BIN="${TESTDIR}/../src/bin/lttng/${LTTNG_BIN}"
-tmp_stdout=$(mktemp -t test_list_triggers_cli_stdout.XXXXXX)
-tmp_stderr=$(mktemp -t test_list_triggers_cli_stderr.XXXXXX)
-tmp_expected_stdout=$(mktemp -t test_list_triggers_cli_expected_stdout.XXXXXX)
+tmp_stdout=$(mktemp --tmpdir -t test_list_triggers_cli_stdout.XXXXXX)
+tmp_stderr=$(mktemp --tmpdir -t test_list_triggers_cli_stderr.XXXXXX)
+tmp_expected_stdout=$(mktemp --tmpdir -t test_list_triggers_cli_expected_stdout.XXXXXX)
uprobe_elf_binary=$(realpath "${TESTDIR}/utils/testapp/userspace-probe-elf-binary/.libs/userspace-probe-elf-binary")
uprobe_sdt_binary=$(realpath "${TESTDIR}/utils/testapp/userspace-probe-sdt-binary/.libs/userspace-probe-sdt-binary")
register_some_triggers_bin=$(realpath "${CURDIR}/utils/register-some-triggers")
- name: T0
owner uid: ${uid}
condition: event rule matches
- rule: open (type: syscall:entry+exit)
+ rule: open (type: kernel:syscall:entry+exit)
actions:
notify
errors: none
- name: T1
owner uid: ${uid}
condition: event rule matches
- rule: open (type: syscall:entry)
+ rule: open (type: kernel:syscall:entry)
actions:
notify
errors: none
- name: T2
owner uid: ${uid}
condition: event rule matches
- rule: open (type: syscall:exit)
+ rule: open (type: kernel:syscall:exit)
actions:
notify
errors: none
- name: T3
owner uid: ${uid}
condition: event rule matches
- rule: open (type: syscall:entry+exit)
+ rule: open (type: kernel:syscall:entry+exit)
actions:
notify
errors: none
- name: T4
owner uid: ${uid}
condition: event rule matches
- rule: ptrace (type: syscall:entry+exit, filter: a > 2)
+ rule: ptrace (type: kernel:syscall:entry+exit, filter: a > 2)
actions:
notify
errors: none