From: Michael Jeanson Date: Mon, 1 Nov 2021 21:05:51 +0000 (-0400) Subject: Cleanup: typo: existance -> existence X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0f1b1d2510d23e9a2a4baa9e2642ef97a35ef83f;p=lttng-tools.git Cleanup: typo: existance -> existence Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau Change-Id: I1573b1858896ee631756578afa9639533e75ca47 --- 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);