ret = bt_ctf_field_type_serialize(event_class->context,
context);
if (ret) {
- BT_LOGE("Cannot serialize event class's context field type's metadata: "
+ BT_LOGW("Cannot serialize event class's context field type's metadata: "
"ret=%d", ret);
goto end;
}
g_string_append(context->string, "\tfields := ");
ret = bt_ctf_field_type_serialize(event_class->fields, context);
if (ret) {
- BT_LOGE("Cannot serialize event class's payload field type's metadata: "
+ BT_LOGW("Cannot serialize event class's payload field type's metadata: "
"ret=%d", ret);
goto end;
}
}
if (id_a == id_b) {
- BT_LOGD("Event class with this ID already exists in the stream class: "
+ BT_LOGW("Event class with this ID already exists in the stream class: "
"id=%" PRId64 ", name=\"%s\"",
id_a, bt_ctf_event_class_get_name(event_class_a));
search_query->found = 1;
if ((validation_output.valid_flags & validation_flags) !=
validation_flags) {
/* Invalid event class */
- BT_LOGE("Invalid trace, stream class, or event class: "
+ BT_LOGW("Invalid trace, stream class, or event class: "
"valid-flags=0x%x",
validation_output.valid_flags);
ret = -1;
ret = bt_ctf_field_type_serialize(stream_class->event_header_type,
context);
if (ret) {
- BT_LOGE("Cannot serialize stream class's event header field type's metadata: "
+ BT_LOGW("Cannot serialize stream class's event header field type's metadata: "
"ret=%d", ret);
goto end;
}
ret = bt_ctf_field_type_serialize(stream_class->packet_context_type,
context);
if (ret) {
- BT_LOGE("Cannot serialize stream class's packet context field type's metadata: "
+ BT_LOGW("Cannot serialize stream class's packet context field type's metadata: "
"ret=%d", ret);
goto end;
}
ret = bt_ctf_field_type_serialize(
stream_class->event_context_type, context);
if (ret) {
- BT_LOGE("Cannot serialize stream class's event context field type's metadata: "
+ BT_LOGW("Cannot serialize stream class's event context field type's metadata: "
"ret=%d", ret);
goto end;
}
ret = bt_ctf_event_class_serialize(event_class, context);
if (ret) {
- BT_LOGE("Cannot serialize event class's metadata: "
+ BT_LOGW("Cannot serialize event class's metadata: "
"event-class-addr=%p, event-class-name=\"%s\", "
"event-class-id=%" PRId64,
event_class,