X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;h=aa07b7cab770a55e25d59a09bdcef8270cc9aaa1;hb=9e88d150c4119a0c6d6288cad6d6db87df7bac4b;hp=20e18e86fcf1e952c8f090db3dff58eb430a3e76;hpb=20d0dcf9609dcd28aebe87c167d6600ddbe668d1;p=babeltrace.git diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index 20e18e86..aa07b7ca 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -22,8 +22,8 @@ #include #include #include +#include #include -#include #include #include #include @@ -211,15 +211,15 @@ const char *print_loglevel(int value) } static -int ctf_text_write_event(struct stream_pos *ppos, - struct ctf_stream *stream) +int ctf_text_write_event(struct stream_pos *ppos, struct ctf_stream_definition *stream) + { struct ctf_text_stream_pos *pos = container_of(ppos, struct ctf_text_stream_pos, parent); - struct ctf_stream_class *stream_class = stream->stream_class; + struct ctf_stream_declaration *stream_class = stream->stream_class; int field_nr_saved; struct ctf_event *event_class; - struct ctf_stream_event *event; + struct ctf_event_definition *event; uint64_t id; int ret; int dom_print = 0;