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>
63 /* writer primitives */
64 struct bt_ctf_writer *writer; member
92 struct ctf_writer writer; member
705 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create()
804 struct ctf_writer *cw = &c->writer; in process_sample_event()
881 struct ctf_writer *cw = &c->writer; \
1375 struct bt_ctf_writer *writer = cw->writer; in ctf_writer__setup_env() local
1379 if (bt_ctf_writer_add_environment_field(writer, __n, __v)) \ in ctf_writer__setup_env()
1504 bt_ctf_writer_put(cw->writer); in ctf_writer__cleanup()
1513 struct bt_ctf_writer *writer; in ctf_writer__init() local
1519 /* CTF writer */ in ctf_writer__init()
1520 writer = bt_ctf_writer_create(path); in ctf_writer__init()
1521 if (!writer) in ctf_writer__init()
1524 cw->writer = writer; in ctf_writer__init()
1568 /* CTF clock writer setup */ in ctf_writer__init()
1569 if (bt_ctf_writer_add_clock(writer, clock)) { in ctf_writer__init()
1570 pr("Failed to assign CTF clock to writer.\n"); in ctf_writer__init()
1579 pr_err("Failed to setup CTF writer.\n"); in ctf_writer__init()
1613 struct ctf_writer *cw = &c.writer; in bt_convert__perf2ctf()
1647 /* CTF writer */ in bt_convert__perf2ctf()
1656 /* CTF writer env/clock setup */ in bt_convert__perf2ctf()