projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Logging: use WARN level where appropriate
[babeltrace.git]
/
lib
/
ctf-ir
/
stream-class.c
diff --git
a/lib/ctf-ir/stream-class.c
b/lib/ctf-ir/stream-class.c
index 0e3a33bcf909295acdfebf20290195dd7f5e3c45..0f1eee39f16625bba14e12d969232ba868765a0d 100644
(file)
--- a/
lib/ctf-ir/stream-class.c
+++ b/
lib/ctf-ir/stream-class.c
@@
-436,7
+436,7
@@
void event_class_exists(gpointer element, gpointer query)
}
if (id_a == id_b) {
}
if (id_a == id_b) {
- BT_LOG
D
("Event class with this ID already exists in the stream class: "
+ BT_LOG
W
("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;
"id=%" PRId64 ", name=\"%s\"",
id_a, bt_ctf_event_class_get_name(event_class_a));
search_query->found = 1;
@@
-573,7
+573,7
@@
int bt_ctf_stream_class_add_event_class(
if ((validation_output.valid_flags & validation_flags) !=
validation_flags) {
/* Invalid event class */
if ((validation_output.valid_flags & validation_flags) !=
validation_flags) {
/* Invalid event class */
- BT_LOG
E
("Invalid trace, stream class, or event class: "
+ BT_LOG
W
("Invalid trace, stream class, or event class: "
"valid-flags=0x%x",
validation_output.valid_flags);
ret = -1;
"valid-flags=0x%x",
validation_output.valid_flags);
ret = -1;
@@
-1052,7
+1052,7
@@
int bt_ctf_stream_class_serialize(struct bt_ctf_stream_class *stream_class,
ret = bt_ctf_field_type_serialize(stream_class->event_header_type,
context);
if (ret) {
ret = bt_ctf_field_type_serialize(stream_class->event_header_type,
context);
if (ret) {
- BT_LOG
E
("Cannot serialize stream class's event header field type's metadata: "
+ BT_LOG
W
("Cannot serialize stream class's event header field type's metadata: "
"ret=%d", ret);
goto end;
}
"ret=%d", ret);
goto end;
}
@@
-1062,7
+1062,7
@@
int bt_ctf_stream_class_serialize(struct bt_ctf_stream_class *stream_class,
ret = bt_ctf_field_type_serialize(stream_class->packet_context_type,
context);
if (ret) {
ret = bt_ctf_field_type_serialize(stream_class->packet_context_type,
context);
if (ret) {
- BT_LOG
E
("Cannot serialize stream class's packet context field type's metadata: "
+ BT_LOG
W
("Cannot serialize stream class's packet context field type's metadata: "
"ret=%d", ret);
goto end;
}
"ret=%d", ret);
goto end;
}
@@
-1073,7
+1073,7
@@
int bt_ctf_stream_class_serialize(struct bt_ctf_stream_class *stream_class,
ret = bt_ctf_field_type_serialize(
stream_class->event_context_type, context);
if (ret) {
ret = bt_ctf_field_type_serialize(
stream_class->event_context_type, context);
if (ret) {
- BT_LOG
E
("Cannot serialize stream class's event context field type's metadata: "
+ BT_LOG
W
("Cannot serialize stream class's event context field type's metadata: "
"ret=%d", ret);
goto end;
}
"ret=%d", ret);
goto end;
}
@@
-1086,7
+1086,7
@@
int bt_ctf_stream_class_serialize(struct bt_ctf_stream_class *stream_class,
ret = bt_ctf_event_class_serialize(event_class, context);
if (ret) {
ret = bt_ctf_event_class_serialize(event_class, context);
if (ret) {
- BT_LOG
E
("Cannot serialize event class's metadata: "
+ BT_LOG
W
("Cannot serialize event class's metadata: "
"event-class-addr=%p, event-class-name=\"%s\", "
"event-class-id=%" PRId64,
event_class,
"event-class-addr=%p, event-class-name=\"%s\", "
"event-class-id=%" PRId64,
event_class,
This page took
0.024759 seconds
and
4
git commands to generate.