Lines Matching full: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; member
88 struct ctf_writer writer; member
700 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create()
799 struct ctf_writer *cw = &c->writer; in process_sample_event()
876 struct ctf_writer *cw = &c->writer; \
1369 struct bt_ctf_writer *writer = cw->writer; in ctf_writer__setup_env() local
1373 if (bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in ctf_writer__setup_env()
1498 bt_ctf_writer_put(cw->writer); in ctf_writer__cleanup()
1507 struct bt_ctf_writer *writer; in ctf_writer__init() local
1513 /* CTF writer */ in ctf_writer__init()
1514 writer = bt_ctf_writer_create(path); in ctf_writer__init()
1515 if (!writer) in ctf_writer__init()
1518 cw->writer = writer; in ctf_writer__init()
1562 /* CTF clock writer setup */ in ctf_writer__init()
1563 if (bt_ctf_writer_add_clock(writer, clock)) { in ctf_writer__init()
1564 pr("Failed to assign CTF clock to writer.\n"); in ctf_writer__init()
1573 pr_err("Failed to setup CTF writer.\n"); in ctf_writer__init()
1622 struct ctf_writer *cw = &c.writer; in bt_convert__perf2ctf()
1643 /* CTF writer */ in bt_convert__perf2ctf()
1652 /* CTF writer env/clock setup */ in bt_convert__perf2ctf()