From 0f1b1d2510d23e9a2a4baa9e2642ef97a35ef83f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 1 Nov 2021 17:05:51 -0400 Subject: [PATCH] Cleanup: typo: existance -> existence MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau Change-Id: I1573b1858896ee631756578afa9639533e75ca47 --- src/bin/lttng-relayd/index.cpp | 2 +- src/bin/lttng-relayd/main.cpp | 2 +- src/bin/lttng-sessiond/ust-app.cpp | 4 ++-- src/lib/lttng-ctl/tracker.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/lttng-relayd/index.cpp b/src/bin/lttng-relayd/index.cpp index ef00a6eca..f2f102e64 100644 --- a/src/bin/lttng-relayd/index.cpp +++ b/src/bin/lttng-relayd/index.cpp @@ -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(); /* diff --git a/src/bin/lttng-relayd/main.cpp b/src/bin/lttng-relayd/main.cpp index bc3c56f34..4b7726d4e 100644 --- a/src/bin/lttng-relayd/main.cpp +++ b/src/bin/lttng-relayd/main.cpp @@ -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; } diff --git a/src/bin/lttng-sessiond/ust-app.cpp b/src/bin/lttng-sessiond/ust-app.cpp index a848d474c..ef0f69652 100644 --- a/src/bin/lttng-sessiond/ust-app.cpp +++ b/src/bin/lttng-sessiond/ust-app.cpp @@ -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. diff --git a/src/lib/lttng-ctl/tracker.cpp b/src/lib/lttng-ctl/tracker.cpp index 1259729ea..b9c8ed8c3 100644 --- a/src/lib/lttng-ctl/tracker.cpp +++ b/src/lib/lttng-ctl/tracker.cpp @@ -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); -- 2.34.1