]> git.lttng.org Git - lttng-tools.git/commitdiff
Clean-up typos: encoutered -> encountered
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Jan 2025 21:59:36 +0000 (21:59 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Jan 2025 21:59:36 +0000 (21:59 +0000)
For some reason, this typo is present all over the project. I'll practice
writting that word over the week-end.

Change-Id: Ifc6b0d205de8792c1a96cbac009fd5abdfb36199
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/stream.cpp
src/bin/lttng-sessiond/action-executor.cpp
src/bin/lttng-sessiond/notification-thread-events.cpp
src/bin/lttng-sessiond/ust-registry-session.cpp
src/bin/lttng/commands/list.cpp
src/common/conditions/event-rule-matches.cpp
tests/regression/tools/live/live_test.cpp

index b4c1a9216fc7a32956621b6d458aee1eb32d361b..86616289558745cd461280c6ca1a67ae7c32f59a 100644 (file)
@@ -207,7 +207,7 @@ static int rotate_truncate_stream(struct relay_stream *stream)
        struct lttng_trace_chunk *previous_chunk = nullptr;
 
        if (!LTTNG_OPTIONAL_GET(stream->ongoing_rotation).next_trace_chunk) {
-               ERR("Protocol error encoutered in %s(): stream rotation "
+               ERR("Protocol error encountered in %s(): stream rotation "
                    "sequence number is before the current sequence number "
                    "and the next trace chunk is unset. Honoring this "
                    "rotation command would result in data loss",
index 6f75b07b46ec00ffca1602f83c2e62dd8236b795..395aa9a13286606d8ff59e03e398a2f6444b160d 100644 (file)
@@ -249,7 +249,7 @@ static int client_handle_transmission_status(struct notification_client *client,
                    client->id);
                break;
        default:
-               ERR("Fatal error encoutered while sending notification to client, client_id = %" PRIu64,
+               ERR("Fatal error encountered while sending notification to client, client_id = %" PRIu64,
                    client->id);
                ret = -1;
                goto end;
index f3a456f08d0da14acef037e9e8c2d9df2270aaca..683edca62f3f1b0cd910905f9e62c7ed25e0a135 100644 (file)
@@ -3502,7 +3502,7 @@ end:
 
 int handle_notification_thread_client_disconnect_all(struct notification_thread_state *state)
 {
-       bool error_encoutered = false;
+       bool error_encountered = false;
 
        DBG("Closing all client connections");
 
@@ -3514,11 +3514,11 @@ int handle_notification_thread_client_disconnect_all(struct notification_thread_
 
                ret = notification_thread_client_disconnect(client, state);
                if (ret) {
-                       error_encoutered = true;
+                       error_encountered = true;
                }
        }
 
-       return error_encoutered ? 1 : 0;
+       return error_encountered ? 1 : 0;
 }
 
 int handle_notification_thread_trigger_unregister_all(struct notification_thread_state *state)
@@ -4742,7 +4742,7 @@ dispatch_one_event_notifier_notification(struct notification_thread_state *state
        case ACTION_EXECUTOR_STATUS_INVALID:
        case ACTION_EXECUTOR_STATUS_ERROR:
                /* Fatal error, shut down everything. */
-               ERR("Fatal error encoutered while enqueuing action to the action executor");
+               ERR("Fatal error encountered while enqueuing action to the action executor");
                ret = -1;
                goto end_unlock;
        default:
index 0e9fd135fe2064a11c3721a3eac00e588452a833..ff002811fd66f023210ace3ae6277fc12196b577 100644 (file)
@@ -129,7 +129,7 @@ void destroy_channel(lsu::registry_channel *chan, bool notify) noexcept
                                ust_registry_channel_destroy_event(chan, event);
                        }
                } catch (const lttng::out_of_range& ex) {
-                       ERR_FMT("Corrupted channel events hash table encoutered while destroying channel: {}",
+                       ERR_FMT("Corrupted channel events hash table encountered while destroying channel: {}",
                                ex.what());
                }
        }
index 5ccebbd1e625370d752f9572f2a2ca6dee85f0b4..40d24141ae926b9825d1903a1ea62c9de9d1ff06 100644 (file)
@@ -1650,7 +1650,7 @@ static int list_process_attr_tracker(enum lttng_process_attr process_attr)
                ret = CMD_SUCCESS;
                goto end;
        default:
-               ERR("Unknown tracking policy encoutered while listing the %s process attribute tracker of session `%s`",
+               ERR("Unknown tracking policy encountered while listing the %s process attribute tracker of session `%s`",
                    lttng_process_attr_to_string(process_attr),
                    the_handle->session_name);
                ret = CMD_FATAL;
index 64f00859c6305c6e16892894f106557a50a50a14..af850b5c72b1de96f3f419cbb80230d2dc5d6e3f 100644 (file)
@@ -650,7 +650,7 @@ static struct lttng_event_expr *event_expr_from_payload(struct lttng_payload_vie
                break;
        }
        default:
-               ERR("Invalid event expression type encoutered while deserializing event expression: type = %" PRIu64,
+               ERR("Invalid event expression type encountered while deserializing event expression: type = %" PRIu64,
                    type);
                goto error;
        }
index 9c9838ac7f337f6860ad4fb57519b5e83a6139c9..eb4f2ea7b9b412bf8fd869a1f9d4285511fd92d2 100644 (file)
@@ -521,7 +521,7 @@ static int get_next_index()
                if (first_packet_stream_id < 0) {
                        /*
                         * Initialize the first packet stream id. That is,
-                        * the first active stream encoutered.
+                        * the first active stream encountered.
                         */
                        first_packet_offset = be64toh(rp.offset);
                        first_packet_len = be64toh(rp.packet_size) / CHAR_BIT;
This page took 0.034247 seconds and 4 git commands to generate.