/*
* Type enclosing the session information that may be required during the decoding
* of the lttng_ust_ctl_field array provided by applications on registration of
/*
* Type enclosing the session information that may be required during the decoding
* of the lttng_ust_ctl_field array provided by applications on registration of
const auto encoding_it = encoding_conversion_map.find(encoding);
if (encoding_it == encoding_conversion_map.end()) {
const auto encoding_it = encoding_conversion_map.find(encoding);
if (encoding_it == encoding_conversion_map.end()) {
current->type.u._float.exp_dig,
current->type.u._float.mant_dig);
} catch (lttng::invalid_argument_error& ex) {
current->type.u._float.exp_dig,
current->type.u._float.mant_dig);
} catch (lttng::invalid_argument_error& ex) {
"Array of {} is too short to contain nestable enumeration's container",
typeid(*current)));
}
if (current->type.atype != lttng_ust_ctl_atype_integer) {
"Array of {} is too short to contain nestable enumeration's container",
typeid(*current)));
}
if (current->type.atype != lttng_ust_ctl_atype_integer) {
- LTTNG_THROW_PROTOCOL_ERROR(
- fmt::format("Invalid type of nestable enum container: type id = {}",
- current->type.atype));
+ LTTNG_THROW_PROTOCOL_ERROR(lttng::format(
+ "Invalid type of nestable enum container: type id = {}",
+ current->type.atype));
const auto& element_uctl_type = array_uctl_field.type.u.legacy.array.elem_type;
if (element_uctl_type.atype != lttng_ust_ctl_atype_integer) {
const auto& element_uctl_type = array_uctl_field.type.u.legacy.array.elem_type;
if (element_uctl_type.atype != lttng_ust_ctl_atype_integer) {
"Unexpected legacy array element type: atype = {}, expected atype = lttng_ust_ctl_atype_integer ({})",
element_uctl_type.atype,
lttng_ust_ctl_atype_integer));
"Unexpected legacy array element type: atype = {}, expected atype = lttng_ust_ctl_atype_integer ({})",
element_uctl_type.atype,
lttng_ust_ctl_atype_integer));
"Unexpected legacy sequence element type: atype = {}, expected atype = lttng_ust_ctl_atype_integer ({})",
element_uctl_type.atype,
lttng_ust_ctl_atype_integer));
}
if (length_uctl_type.atype != lttng_ust_ctl_atype_integer) {
"Unexpected legacy sequence element type: atype = {}, expected atype = lttng_ust_ctl_atype_integer ({})",
element_uctl_type.atype,
lttng_ust_ctl_atype_integer));
}
if (length_uctl_type.atype != lttng_ust_ctl_atype_integer) {
"Unexpected legacy sequence length field type: atype = {}, expected atype = lttng_ust_ctl_atype_integer ({})",
length_uctl_type.atype,
lttng_ust_ctl_atype_integer));
"Unexpected legacy sequence length field type: atype = {}, expected atype = lttng_ust_ctl_atype_integer ({})",
length_uctl_type.atype,
lttng_ust_ctl_atype_integer));
- fmt::format("Unknown {} value `{}` encountered while converting {} to {}",
- typeid(current->type.atype),
- current->type.atype,
- typeid(*current),
- typeid(lst::type::cuptr::element_type)));
+ lttng::format("Unknown {} value `{}` encountered while converting {} to {}",
+ typeid(current->type.atype),
+ current->type.atype,
+ typeid(*current),
+ typeid(lst::type::cuptr::element_type)));
if (lttng_strnlen(current->name, sizeof(current->name)) == sizeof(current->name)) {
LTTNG_THROW_PROTOCOL_ERROR(
if (lttng_strnlen(current->name, sizeof(current->name)) == sizeof(current->name)) {
LTTNG_THROW_PROTOCOL_ERROR(
lookup_field_in_vector(std::vector<lst::field::cuptr>& fields, const lst::field_location& location)
{
if (location.elements_.size() != 1) {
lookup_field_in_vector(std::vector<lst::field::cuptr>& fields, const lst::field_location& location)
{
if (location.elements_.size() != 1) {