summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
87cee60)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
* an lttng_destruction_handle which can be used to wait for the completion
* of the session's destruction. The lttng_destroy_handle can also be used
* obtain the status and archive location of any implicit session
* an lttng_destruction_handle which can be used to wait for the completion
* of the session's destruction. The lttng_destroy_handle can also be used
* obtain the status and archive location of any implicit session
- * rotation that may have occured during the session's destruction.
+ * rotation that may have occurred during the session's destruction.
*
* Returns LTTNG_OK on success. The returned handle is owned by the caller
* and must be free'd using lttng_destruction_handle_destroy().
*
* Returns LTTNG_OK on success. The returned handle is owned by the caller
* and must be free'd using lttng_destruction_handle_destroy().
switch (rotation_state) {
case LTTNG_ROTATION_STATE_NO_ROTATION:
switch (rotation_state) {
case LTTNG_ROTATION_STATE_NO_ROTATION:
- DBG("Reporting that no rotation has occured within the lifetime of session \"%s\"",
+ DBG("Reporting that no rotation has occurred within the lifetime of session \"%s\"",
session->name);
goto end;
case LTTNG_ROTATION_STATE_EXPIRED:
session->name);
goto end;
case LTTNG_ROTATION_STATE_EXPIRED:
&exists_status);
if (ret) {
pthread_mutex_unlock(socket->lock);
&exists_status);
if (ret) {
pthread_mutex_unlock(socket->lock);
- ERR("Error occured while checking rotation status on consumer daemon");
+ ERR("Error occurred while checking rotation status on consumer daemon");
&exists_status);
if (ret) {
pthread_mutex_unlock(socket->lock);
&exists_status);
if (ret) {
pthread_mutex_unlock(socket->lock);
- ERR("Error occured while checking rotation status on consumer daemon");
+ ERR("Error occurred while checking rotation status on consumer daemon");
*
* Be careful of the result passed to this function. For instance,
* on failure to launch a rotation, a client will expect the rotation
*
* Be careful of the result passed to this function. For instance,
* on failure to launch a rotation, a client will expect the rotation
- * state to be set to "NO_ROTATION". If an error occured while the
+ * state to be set to "NO_ROTATION". If an error occurred while the
* rotation was "ONGOING", result should be set to "ERROR", which will
* allow a client to report it.
*
* rotation was "ONGOING", result should be set to "ERROR", which will
* allow a client to report it.
*