Lines Matching refs:stream
53 struct bt_ctf_stream *stream; member
61 struct ctf_stream **stream; member
671 err = bt_ctf_stream_flush(cs->stream); in ctf_stream__flush()
689 struct bt_ctf_stream *stream = NULL; in ctf_stream__create() local
698 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create()
699 if (!stream) { in ctf_stream__create()
704 pkt_ctx = bt_ctf_stream_get_packet_context(stream); in ctf_stream__create()
726 cs->stream = stream; in ctf_stream__create()
732 if (stream) in ctf_stream__create()
733 bt_ctf_stream_put(stream); in ctf_stream__create()
742 bt_ctf_stream_put(cs->stream); in ctf_stream__delete()
749 struct ctf_stream *cs = cw->stream[cpu]; in ctf_stream()
753 cw->stream[cpu] = cs; in ctf_stream()
853 bt_ctf_stream_append_event(cs->stream, event); in process_sample_event()
896 bt_ctf_stream_append_event(cs->stream, event); \
1332 struct ctf_stream **stream; in setup_streams() local
1342 stream = zalloc(sizeof(*stream) * ncpus); in setup_streams()
1343 if (!stream) { in setup_streams()
1348 cw->stream = stream; in setup_streams()
1358 ctf_stream__delete(cw->stream[cpu]); in free_streams()
1360 zfree(&cw->stream); in free_streams()
1580 ret = ctf_stream__flush(cw->stream[cpu]); in ctf_writer__flush_streams()