Cleanup: typo: existance -> existence
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 1 Nov 2021 21:05:51 +0000 (17:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Nov 2021 16:14:35 +0000 (11:14 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1573b1858896ee631756578afa9639533e75ca47

src/bin/lttng-relayd/index.cpp
src/bin/lttng-relayd/main.cpp
src/bin/lttng-sessiond/ust-app.cpp
src/lib/lttng-ctl/tracker.cpp

index ef00a6eca103e1a3e53eb0e5470f00312b584aa0..f2f102e64d4714d945551435dc5f41e83cb394db 100644 (file)
@@ -238,7 +238,7 @@ void relay_index_put(struct relay_index *index)
                        index->stream->stream_handle, index->index_n.key,
                        (int) index->ref.refcount);
        /*
-        * Ensure existance of index->lock for index unlock.
+        * Ensure existence of index->lock for index unlock.
         */
        rcu_read_lock();
        /*
index bc3c56f347a05b879c47b4a7a6d71cc31ef18e22..4b7726d4e61b6466616d3e9242f2325cf871a357 100644 (file)
@@ -3115,7 +3115,7 @@ static int relay_trace_chunk_exists(const struct lttcomm_relayd_hdr *recv_hdr,
        bool chunk_exists;
 
        if (!session || !conn->version_check_done) {
-               ERR("Trying to check for the existance of a trace chunk before version check");
+               ERR("Trying to check for the presence of a trace chunk before version check");
                ret = -1;
                goto end_no_reply;
        }
index a848d474c9ba5c697d42b12f6ce0e2f0abae9025..ef0f696522694ce31a07e3c10d492ffb0043f03f 100644 (file)
@@ -650,7 +650,7 @@ int ust_app_release_object(struct ust_app *app, struct lttng_ust_abi_object_data
 /*
  * Push metadata to consumer socket.
  *
- * RCU read-side lock must be held to guarantee existance of socket.
+ * RCU read-side lock must be held to guarantee existence of socket.
  * Must be called with the ust app session lock held.
  * Must be called with the registry lock held.
  *
@@ -789,7 +789,7 @@ error_push:
  * socket to send the metadata is retrieved from consumer, if sock
  * is not NULL we use it to send the metadata.
  * RCU read-side lock must be held while calling this function,
- * therefore ensuring existance of registry. It also ensures existance
+ * therefore ensuring existence of registry. It also ensures existence
  * of socket throughout this function.
  *
  * Return 0 on success else a negative error.
index 1259729eaf8b30a729c4798b74b5e4a1e2a19438..b9c8ed8c38d63195bdb0693dfeff28bc41ce42e0 100644 (file)
@@ -68,7 +68,7 @@ enum lttng_error_code lttng_session_get_tracker_handle(const char *session_name,
 
        /*
         * Use the `get_tracking_policy` command to validate the tracker's
-        * existance.
+        * existence.
         */
        status = lttng_process_attr_tracker_handle_get_tracking_policy(
                        handle, &policy);
This page took 0.030288 seconds and 4 git commands to generate.