struct lttng_trace_chunk *previous_chunk = nullptr;
if (!LTTNG_OPTIONAL_GET(stream->ongoing_rotation).next_trace_chunk) {
- ERR("Protocol error encoutered in %s(): stream rotation "
+ ERR("Protocol error encountered in %s(): stream rotation "
"sequence number is before the current sequence number "
"and the next trace chunk is unset. Honoring this "
"rotation command would result in data loss",
client->id);
break;
default:
- ERR("Fatal error encoutered while sending notification to client, client_id = %" PRIu64,
+ ERR("Fatal error encountered while sending notification to client, client_id = %" PRIu64,
client->id);
ret = -1;
goto end;
int handle_notification_thread_client_disconnect_all(struct notification_thread_state *state)
{
- bool error_encoutered = false;
+ bool error_encountered = false;
DBG("Closing all client connections");
ret = notification_thread_client_disconnect(client, state);
if (ret) {
- error_encoutered = true;
+ error_encountered = true;
}
}
- return error_encoutered ? 1 : 0;
+ return error_encountered ? 1 : 0;
}
int handle_notification_thread_trigger_unregister_all(struct notification_thread_state *state)
case ACTION_EXECUTOR_STATUS_INVALID:
case ACTION_EXECUTOR_STATUS_ERROR:
/* Fatal error, shut down everything. */
- ERR("Fatal error encoutered while enqueuing action to the action executor");
+ ERR("Fatal error encountered while enqueuing action to the action executor");
ret = -1;
goto end_unlock;
default:
ust_registry_channel_destroy_event(chan, event);
}
} catch (const lttng::out_of_range& ex) {
- ERR_FMT("Corrupted channel events hash table encoutered while destroying channel: {}",
+ ERR_FMT("Corrupted channel events hash table encountered while destroying channel: {}",
ex.what());
}
}
ret = CMD_SUCCESS;
goto end;
default:
- ERR("Unknown tracking policy encoutered while listing the %s process attribute tracker of session `%s`",
+ ERR("Unknown tracking policy encountered while listing the %s process attribute tracker of session `%s`",
lttng_process_attr_to_string(process_attr),
the_handle->session_name);
ret = CMD_FATAL;
break;
}
default:
- ERR("Invalid event expression type encoutered while deserializing event expression: type = %" PRIu64,
+ ERR("Invalid event expression type encountered while deserializing event expression: type = %" PRIu64,
type);
goto error;
}
if (first_packet_stream_id < 0) {
/*
* Initialize the first packet stream id. That is,
- * the first active stream encoutered.
+ * the first active stream encountered.
*/
first_packet_offset = be64toh(rp.offset);
first_packet_len = be64toh(rp.packet_size) / CHAR_BIT;