X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;h=afdc07c1d80576c367743e0e49a25e98c5fe17aa;hb=12471830622f2f6e67bb14e3fdb112c70a5dbe5e;hp=2ba082303c50941a9beda71ee30cf6ce9fdfcee6;hpb=28ec16362c75cd5ae77c338b3e27a045176c975a;p=babeltrace.git diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index 2ba08230..afdc07c1 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 @@ -59,7 +60,8 @@ int opt_all_field_names, opt_loglevel_field, opt_emf_field, opt_callsite_field, - opt_delta_field = 1; + opt_delta_field = 1, + opt_debug_info_full_path; enum field_item { ITEM_SCOPE, @@ -237,7 +239,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 +267,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)