Lines Matching refs:writer
14 #include <babeltrace/ctf-writer/writer.h>
15 #include <babeltrace/ctf-writer/clock.h>
16 #include <babeltrace/ctf-writer/stream.h>
17 #include <babeltrace/ctf-writer/event.h>
18 #include <babeltrace/ctf-writer/event-types.h>
19 #include <babeltrace/ctf-writer/event-fields.h>
59 /* writer primitives */
60 struct bt_ctf_writer *writer;
88 struct ctf_writer writer;
698 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class);
797 struct ctf_writer *cw = &c->writer;
874 struct ctf_writer *cw = &c->writer; \
1367 struct bt_ctf_writer *writer = cw->writer;
1371 if (bt_ctf_writer_add_environment_field(writer, __n, __v)) \
1496 bt_ctf_writer_put(cw->writer);
1505 struct bt_ctf_writer *writer;
1511 /* CTF writer */
1512 writer = bt_ctf_writer_create(path);
1513 if (!writer)
1516 cw->writer = writer;
1560 /* CTF clock writer setup */
1561 if (bt_ctf_writer_add_clock(writer, clock)) {
1562 pr("Failed to assign CTF clock to writer.\n");
1571 pr_err("Failed to setup CTF writer.\n");
1620 struct ctf_writer *cw = &c.writer;
1641 /* CTF writer */
1650 /* CTF writer env/clock setup */