X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;fp=formats%2Fctf-text%2Fctf-text.c;h=676a59449de8c55962b9534d959f8f485782a0d4;hp=9b1d2b4d6c9352324f5691f1c84fe0b048393d4d;hb=c40a57e579977be9eb7682480428a89af5ca529c;hpb=220e0cbec97669ccfe4ed8a7e69c73c9ac72062d diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index 9b1d2b4d..676a5944 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -237,7 +238,6 @@ const char *print_loglevel(int value) static int ctf_text_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definition *stream) - { struct ctf_text_stream_pos *pos = container_of(ppos, struct ctf_text_stream_pos, parent); @@ -266,6 +266,8 @@ int ctf_text_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definitio return -EINVAL; } + handle_debug_info_event(stream_class, event); + if (stream->has_timestamp) { set_field_names_print(pos, ITEM_HEADER); if (pos->print_names)