lttng: enable-event: use the terminology of the documentation
[lttng-tools.git] / tests / regression / tools / trigger / test_list_triggers_cli
index 162b1328b61b34ec34176a648b894eff9c3efee9..836983329f5d3070ff31ff2b07c6d6d33d11f77c 100755 (executable)
@@ -27,10 +27,10 @@ NUM_TESTS=150
 
 FULL_LTTNG_BIN="${TESTDIR}/../src/bin/lttng/${LTTNG_BIN}"
 
-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)
-tmp_expected_stdout_mi=$(mktemp --tmpdir -t test_list_triggers_cli_expected_stdout.mi.XXXXXX)
+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_expected_stdout_mi=$(mktemp -t test_list_triggers_cli_expected_stdout.mi.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")
@@ -799,8 +799,8 @@ test_event_rule_matches_probe ()
 
        diag "Listing event-rule-matches kernel probe"
 
-       channel_enable_addr=$(grep ' t lttng_channel_enable\s\[lttng_tracer\]$' /proc/kallsyms | cut -f 1 -d ' ')
-       channel_disable_addr=$(grep ' t lttng_channel_disable\s\[lttng_tracer\]$' /proc/kallsyms | cut -f 1 -d ' ')
+       channel_enable_addr=$(grep '\<lttng_channel_enable\>' /proc/kallsyms | cut -f 1 -d ' ')
+       channel_disable_addr=$(grep '\<lttng_channel_disable\>' /proc/kallsyms | cut -f 1 -d ' ')
 
        # We need to find a valid offset.
        base_symbol=""
@@ -1606,7 +1606,7 @@ test_buffer_usage_conditions ()
          condition: buffer usage high
            session name: the-session-name
            channel name: the-channel-name
-           domain: ust
+           domain: user space
            threshold (bytes): 1234
            errors: none
          actions:
@@ -1618,7 +1618,7 @@ test_buffer_usage_conditions ()
          condition: buffer usage high
            session name: the-session-name
            channel name: the-channel-name
-           domain: ust
+           domain: user space
            threshold (ratio): 0.25
            errors: none
          actions:
@@ -1630,7 +1630,7 @@ test_buffer_usage_conditions ()
          condition: buffer usage low
            session name: the-session-name
            channel name: the-channel-name
-           domain: ust
+           domain: user space
            threshold (bytes): 2345
            errors: none
          actions:
@@ -1642,7 +1642,7 @@ test_buffer_usage_conditions ()
          condition: buffer usage low
            session name: the-session-name
            channel name: the-channel-name
-           domain: ust
+           domain: user space
            threshold (ratio): 0.40
            errors: none
          actions:
This page took 0.02472 seconds and 4 git commands to generate.