X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftrigger%2Ftest_list_triggers_cli;h=a36393f13a967646605af8a7073554dccd5de8a3;hb=46fd07accf36998fca3e43e54513755a98f68f48;hp=26f2f9f46e4b53d0167f478485df57431bf75508;hpb=33e557114a2ba28e26e220a833e8a449c78b8b65;p=lttng-tools.git diff --git a/tests/regression/tools/trigger/test_list_triggers_cli b/tests/regression/tools/trigger/test_list_triggers_cli index 26f2f9f46..a36393f13 100755 --- a/tests/regression/tools/trigger/test_list_triggers_cli +++ b/tests/regression/tools/trigger/test_list_triggers_cli @@ -261,13 +261,13 @@ test_event_rule_matches_userspace_probe_elf () diag "Listing event-rule-matches userspace-probe elf" - lttng_add_trigger_ok "T0" --condition event-rule-matches --domain=kernel --type=uprobe --location=${uprobe_elf_binary}:test_function --event-name=ma-probe-elf --action notify + lttng_add_trigger_ok "T0" --condition event-rule-matches --domain=kernel --type=kernel:uprobe --location=${uprobe_elf_binary}:test_function --event-name=ma-probe-elf --action notify cat > "${tmp_expected_stdout}" <<- EOF - name: T0 owner uid: ${uid} condition: event rule matches - rule: ma-probe-elf (type: userspace probe, location type: ELF, location: ${uprobe_elf_binary}:${elf_function_name}) + rule: ma-probe-elf (type: kernel:uprobe, location type: ELF, location: ${uprobe_elf_binary}:${elf_function_name}) actions: notify errors: none @@ -286,13 +286,13 @@ test_event_rule_matches_userspace_probe_sdt () diag "Listing event-rule-matches userspace-probe sdt" - lttng_add_trigger_ok "T0" --condition event-rule-matches --domain=kernel --type=uprobe --location=sdt:${uprobe_sdt_binary}:${sdt_provider_name}:${sdt_probe_name} --event-name=ma-probe-sdt --action notify + lttng_add_trigger_ok "T0" --condition event-rule-matches --domain=kernel --type=kernel:uprobe --location=sdt:${uprobe_sdt_binary}:${sdt_provider_name}:${sdt_probe_name} --event-name=ma-probe-sdt --action notify cat > "${tmp_expected_stdout}" <<- EOF - name: T0 owner uid: 0 condition: event rule matches - rule: ma-probe-sdt (type: userspace probe, location type: SDT, location: ${uprobe_sdt_binary}:${sdt_provider_name}:${sdt_probe_name}) + rule: ma-probe-sdt (type: kernel:uprobe, location type: SDT, location: ${uprobe_sdt_binary}:${sdt_provider_name}:${sdt_probe_name}) actions: notify errors: none @@ -318,7 +318,7 @@ test_event_rule_matches_syscall () - 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 @@ -326,7 +326,7 @@ test_event_rule_matches_syscall () - name: T1 owner uid: ${uid} condition: event rule matches - rule: open (type: syscall:entry) + rule: open (type: kernel:syscall:entry) actions: notify errors: none @@ -334,7 +334,7 @@ test_event_rule_matches_syscall () - name: T2 owner uid: ${uid} condition: event rule matches - rule: open (type: syscall:exit) + rule: open (type: kernel:syscall:exit) actions: notify errors: none @@ -342,7 +342,7 @@ test_event_rule_matches_syscall () - 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 @@ -350,7 +350,7 @@ test_event_rule_matches_syscall () - 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