From: Francis Deslauriers Date: Mon, 25 Oct 2021 15:32:24 +0000 (-0400) Subject: Typo: occurences -> occurrences X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8f0646a03fbf31c19b85ec367dc2c3db56e6dbf7;p=lttng-tools.git Typo: occurences -> occurrences Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: I719e26febd639f3b047b6aa6361fc6734088e871 --- diff --git a/configure.ac b/configure.ac index 12cc7a17e..27148c105 100644 --- a/configure.ac +++ b/configure.ac @@ -253,7 +253,7 @@ AS_IF([test "x$libtool_fixup" = "xyes"], [ libtool_m4="$srcdir/m4/libtool.m4" libtool_flag_pattern=".*link_all_deplibs\s*,\s*\$1\s*)" - AC_MSG_CHECKING([for occurence(s) of link_all_deplibs = no in $libtool_m4]) + AC_MSG_CHECKING([for occurrence(s) of link_all_deplibs = no in $libtool_m4]) libtool_flag_pattern_count=$($GREP -c "$libtool_flag_pattern\s*=\s*no" $libtool_m4) AS_IF([test $libtool_flag_pattern_count -ne 0], [ diff --git a/src/bin/lttng-relayd/live.c b/src/bin/lttng-relayd/live.c index 13078026b..42b0d947e 100644 --- a/src/bin/lttng-relayd/live.c +++ b/src/bin/lttng-relayd/live.c @@ -2036,7 +2036,7 @@ int viewer_get_metadata(struct relay_connection *conn) /* * Either this is the first time the metadata file is read, or a - * rotation of the corresponding relay stream has occured. + * rotation of the corresponding relay stream has occurred. */ if (!vstream->stream_file.handle && len > 0) { struct fs_handle *fs_handle; diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.c b/src/bin/lttng-sessiond/event-notifier-error-accounting.c index d3e3692f5..1488d801c 100644 --- a/src/bin/lttng-sessiond/event-notifier-error-accounting.c +++ b/src/bin/lttng-sessiond/event-notifier-error-accounting.c @@ -488,7 +488,7 @@ error_create_counter_data: lttng_ust_ctl_destroy_counter(daemon_counter); error_create_daemon_counter: error_shm_alloc: - /* Error occured before per-cpu SHMs were handed-off to ustctl. */ + /* Error occurred before per-cpu SHMs were handed-off to ustctl. */ if (cpu_counter_fds) { for (i = 0; i < entry->nr_counter_cpu_fds; i++) { if (cpu_counter_fds[i] < 0) { diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index b18988560..28c63e70c 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -1342,7 +1342,7 @@ static struct ust_app_event_notifier_rule *alloc_ust_app_event_notifier_rule( case LTTNG_EVENT_RULE_GENERATE_EXCLUSIONS_STATUS_NONE: break; default: - /* Error occured. */ + /* Error occurred. */ ERR("Failed to generate exclusions from trigger while allocating an event notifier rule"); goto error_put_trigger; } diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index e463e4fe3..42d99444f 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -1921,7 +1921,7 @@ function validate_trace pass "Validate trace for event $i, $traced events" else fail "Validate trace for event $i" - diag "Found $traced occurences of $i" + diag "Found $traced occurrences of $i" fi done ret=$? @@ -1949,7 +1949,7 @@ function validate_trace_count pass "Validate trace for event $i, $traced events" else fail "Validate trace for event $i" - diag "Found $traced occurences of $i" + diag "Found $traced occurrences of $i" fi cnt=$(($cnt + $traced)) done @@ -1979,7 +1979,7 @@ function validate_trace_count_range_incl_min_excl_max pass "Validate trace for event $i, $traced events" else fail "Validate trace for event $i" - diag "Found $traced occurences of $i" + diag "Found $traced occurrences of $i" fi cnt=$(($cnt + $traced)) done @@ -2013,7 +2013,7 @@ function validate_trace_exp() pass "Validate trace for expression '${event_exp}', $traced events" else fail "Validate trace for expression '${event_exp}'" - diag "Found $traced occurences of '${event_exp}'" + diag "Found $traced occurrences of '${event_exp}'" fi ret=$? return $ret