Lines Matching refs:ctf_writer
62 struct ctf_writer { struct
92 struct ctf_writer writer; argument
144 static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \
163 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string()
192 get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) in get_tracepoint_field_type()
293 static int add_tracepoint_field_value(struct ctf_writer *cw, in add_tracepoint_field_value()
405 static int add_tracepoint_fields_values(struct ctf_writer *cw, in add_tracepoint_fields_values()
423 static int add_tracepoint_values(struct ctf_writer *cw, in add_tracepoint_values()
595 static int add_generic_values(struct ctf_writer *cw, in add_generic_values()
690 static struct ctf_stream *ctf_stream__create(struct ctf_writer *cw, int cpu) in ctf_stream__create()
753 static struct ctf_stream *ctf_stream(struct ctf_writer *cw, int cpu) in ctf_stream()
765 static int get_sample_cpu(struct ctf_writer *cw, struct perf_sample *sample, in get_sample_cpu()
803 struct ctf_writer *cw = &c->writer; in process_sample_event()
880 struct ctf_writer *cw = &c->writer; \
1020 static int add_tracepoint_fields_types(struct ctf_writer *cw, in add_tracepoint_fields_types()
1063 static int add_tracepoint_types(struct ctf_writer *cw, in add_tracepoint_types()
1078 static int add_bpf_output_types(struct ctf_writer *cw, in add_bpf_output_types()
1097 static int add_generic_types(struct ctf_writer *cw, struct evsel *evsel, in add_generic_types()
1163 static int add_event(struct ctf_writer *cw, struct evsel *evsel) in add_event()
1212 static int setup_events(struct ctf_writer *cw, struct perf_session *session) in setup_events()
1236 static int add_##_name##_event(struct ctf_writer *cw) \
1296 static int setup_non_sample_events(struct ctf_writer *cw,
1336 static int setup_streams(struct ctf_writer *cw, struct perf_session *session) in setup_streams()
1359 static void free_streams(struct ctf_writer *cw) in free_streams()
1369 static int ctf_writer__setup_env(struct ctf_writer *cw, in ctf_writer__setup_env()
1393 static int ctf_writer__setup_clock(struct ctf_writer *cw, in ctf_writer__setup_clock()
1461 static void ctf_writer__cleanup_data(struct ctf_writer *cw) in ctf_writer__cleanup_data()
1469 static int ctf_writer__init_data(struct ctf_writer *cw) in ctf_writer__init_data()
1495 static void ctf_writer__cleanup(struct ctf_writer *cw) in ctf_writer__cleanup()
1508 static int ctf_writer__init(struct ctf_writer *cw, const char *path, in ctf_writer__init()
1581 static int ctf_writer__flush_streams(struct ctf_writer *cw) in ctf_writer__flush_streams()
1626 struct ctf_writer *cw = &c.writer; in bt_convert__perf2ctf()