X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf-text%2Fctf-text.c;h=a508cf68b9fe664be39bea14c59d327dfe9902a6;hp=d6bafd312c0405dfa8b1d94edf91388888621476;hb=ca334c7230d120ffe211efbfd6efe467b5d4d794;hpb=493330cb8cd73be8a598308b78f0fc1d4912843a diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c index d6bafd31..a508cf68 100644 --- a/formats/ctf-text/ctf-text.c +++ b/formats/ctf-text/ctf-text.c @@ -561,6 +561,7 @@ struct bt_trace_descriptor *ctf_text_open_trace(const char *path, int flags, pos->fp = fp; pos->parent.rw_table = write_dispatch_table; pos->parent.event_cb = ctf_text_write_event; + pos->parent.trace = &pos->trace_descriptor; pos->print_names = 0; break; case O_RDONLY: