Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1573b1858896ee631756578afa9639533e75ca47
index->stream->stream_handle, index->index_n.key,
(int) index->ref.refcount);
/*
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.
bool chunk_exists;
if (!session || !conn->version_check_done) {
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;
}
ret = -1;
goto end_no_reply;
}
/*
* Push metadata to consumer socket.
*
/*
* 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.
*
* Must be called with the ust app session lock held.
* Must be called with the registry lock held.
*
* 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,
* 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.
* of socket throughout this function.
*
* Return 0 on success else a negative error.
/*
* Use the `get_tracking_policy` command to validate the tracker's
/*
* Use the `get_tracking_policy` command to validate the tracker's
*/
status = lttng_process_attr_tracker_handle_get_tracking_policy(
handle, &policy);
*/
status = lttng_process_attr_tracker_handle_get_tracking_policy(
handle, &policy);