iter->u.name_quark = g_quark_try_string(name);
if (!iter->u.name_quark) {
- BT_LOGE("Cannot get GQuark: string=\"%s\"", name);
+ BT_LOGV("No such enumeration field type mapping name: "
+ "ft-addr=%p, mapping-name=\"%s\"",
+ type, name);
goto error;
}
/* Advance iterator to first entry, or leave index at -1. */
if (bt_ctf_field_type_enumeration_mapping_iterator_next(iter)) {
/* No entry found. */
+ BT_LOGV("No such enumeration field type mapping name: "
+ "ft-addr=%p, mapping-name=\"%s\"",
+ type, name);
goto error;
}
name_quark = g_quark_try_string(name);
if (!name_quark) {
- BT_LOGE("Cannot get GQuark: string=\"%s\"", name);
+ BT_LOGV("No such structure field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, name);
goto end;
}
structure = container_of(type, struct bt_ctf_field_type_structure,
parent);
if (!g_hash_table_lookup_extended(structure->field_name_to_index,
- GUINT_TO_POINTER(name_quark), NULL, (gpointer *)&index)) {
+ GUINT_TO_POINTER(name_quark), NULL, (gpointer *)&index)) {
+ BT_LOGV("No such structure field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, name);
goto end;
}
name_quark = g_quark_try_string(field_name);
if (!name_quark) {
- BT_LOGE("Cannot get GQuark: string=\"%s\"", field_name);
+ BT_LOGV("No such variant field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, field_name);
goto end;
}
variant = container_of(type, struct bt_ctf_field_type_variant, parent);
if (!g_hash_table_lookup_extended(variant->field_name_to_index,
- GUINT_TO_POINTER(name_quark), NULL, (gpointer *)&index)) {
+ GUINT_TO_POINTER(name_quark), NULL, (gpointer *)&index)) {
+ BT_LOGV("No such variant field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, field_name);
goto end;
}
name_quark = g_quark_try_string(name);
if (!name_quark) {
- BT_LOGE("Cannot get GQuark: string=\"%s\"", name);
+ BT_LOGV("No such structure field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, name);
ret = -1;
goto end;
}
if (!g_hash_table_lookup_extended(structure->field_name_to_index,
GUINT_TO_POINTER(name_quark),
NULL, (gpointer *)&index)) {
+ BT_LOGV("No such structure field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, name);
ret = -1;
goto end;
}
name_quark = g_quark_try_string(name);
if (!name_quark) {
- BT_LOGE("Cannot get GQuark: string=\"%s\"", name);
+ BT_LOGV("No such variant field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, name);
ret = -1;
goto end;
}
if (!g_hash_table_lookup_extended(variant->field_name_to_index,
GUINT_TO_POINTER(name_quark),
NULL, (gpointer *)&index)) {
+ BT_LOGV("No such variant field type field name: "
+ "ft-addr=%p, field-name=\"%s\"",
+ type, name);
ret = -1;
goto end;
}
if (!g_hash_table_lookup_extended(structure->field_name_to_index,
GUINT_TO_POINTER(field_quark),
NULL, (gpointer *)&index)) {
- BT_LOGW("Invalid parameter: no such field in structure field's type: "
+ BT_LOGV("Invalid parameter: no such field in structure field's type: "
"struct-field-addr=%p, struct-ft-addr=%p, "
"field-ft-addr=%p, name=\"%s\"",
field, field->type, field_type, name);
if (!g_hash_table_lookup_extended(structure->field_name_to_index,
GUINT_TO_POINTER(field_quark), NULL, (gpointer *) &index)) {
- BT_LOGW("Invalid parameter: no such field in structure field's type: "
+ BT_LOGV("Invalid parameter: no such field in structure field's type: "
"struct-field-addr=%p, struct-ft-addr=%p, "
"field-ft-addr=%p, name=\"%s\"",
field, field->type, value->type, name);
sequence = container_of(field, struct bt_ctf_field_sequence, parent);
if (!sequence->elements) {
- BT_LOGW("Sequence field's elements do not exist: addr=%p",
+ BT_LOGV("Sequence field's elements do not exist: addr=%p",
field);
goto end;
}