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>
63 /* writer primitives */
64 struct bt_ctf_writer *writer;
92 struct ctf_writer writer;
704 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class);
803 struct ctf_writer *cw = &c->writer;
880 struct ctf_writer *cw = &c->writer; \
1373 struct bt_ctf_writer *writer = cw->writer;
1377 if (bt_ctf_writer_add_environment_field(writer, __n, __v)) \
1502 bt_ctf_writer_put(cw->writer);
1511 struct bt_ctf_writer *writer;
1517 /* CTF writer */
1518 writer = bt_ctf_writer_create(path);
1519 if (!writer)
1522 cw->writer = writer;
1566 /* CTF clock writer setup */
1567 if (bt_ctf_writer_add_clock(writer, clock)) {
1568 pr("Failed to assign CTF clock to writer.\n");
1577 pr_err("Failed to setup CTF writer.\n");
1626 struct ctf_writer *cw = &c.writer;
1647 /* CTF writer */
1656 /* CTF writer env/clock setup */