Lines Matching refs:ctf_writer
55 struct ctf_writer { struct
85 struct ctf_writer writer; argument
137 static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \
156 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string()
185 get_tracepoint_field_type(struct ctf_writer *cw, struct format_field *field) in get_tracepoint_field_type()
286 static int add_tracepoint_field_value(struct ctf_writer *cw, in add_tracepoint_field_value()
396 static int add_tracepoint_fields_values(struct ctf_writer *cw, in add_tracepoint_fields_values()
414 static int add_tracepoint_values(struct ctf_writer *cw, in add_tracepoint_values()
586 static int add_generic_values(struct ctf_writer *cw, in add_generic_values()
681 static struct ctf_stream *ctf_stream__create(struct ctf_writer *cw, int cpu) in ctf_stream__create()
744 static struct ctf_stream *ctf_stream(struct ctf_writer *cw, int cpu) in ctf_stream()
756 static int get_sample_cpu(struct ctf_writer *cw, struct perf_sample *sample, in get_sample_cpu()
794 struct ctf_writer *cw = &c->writer; in process_sample_event()
871 struct ctf_writer *cw = &c->writer; \
1011 static int add_tracepoint_fields_types(struct ctf_writer *cw, in add_tracepoint_fields_types()
1054 static int add_tracepoint_types(struct ctf_writer *cw, in add_tracepoint_types()
1069 static int add_bpf_output_types(struct ctf_writer *cw, in add_bpf_output_types()
1088 static int add_generic_types(struct ctf_writer *cw, struct perf_evsel *evsel, in add_generic_types()
1154 static int add_event(struct ctf_writer *cw, struct perf_evsel *evsel) in add_event()
1203 static int setup_events(struct ctf_writer *cw, struct perf_session *session) in setup_events()
1227 static int add_##_name##_event(struct ctf_writer *cw) \
1287 static int setup_non_sample_events(struct ctf_writer *cw,
1327 static int setup_streams(struct ctf_writer *cw, struct perf_session *session) in setup_streams()
1350 static void free_streams(struct ctf_writer *cw) in free_streams()
1360 static int ctf_writer__setup_env(struct ctf_writer *cw, in ctf_writer__setup_env()
1384 static int ctf_writer__setup_clock(struct ctf_writer *cw) in ctf_writer__setup_clock()
1437 static void ctf_writer__cleanup_data(struct ctf_writer *cw) in ctf_writer__cleanup_data()
1445 static int ctf_writer__init_data(struct ctf_writer *cw) in ctf_writer__init_data()
1471 static void ctf_writer__cleanup(struct ctf_writer *cw) in ctf_writer__cleanup()
1484 static int ctf_writer__init(struct ctf_writer *cw, const char *path) in ctf_writer__init()
1556 static int ctf_writer__flush_streams(struct ctf_writer *cw) in ctf_writer__flush_streams()
1601 struct ctf_writer *cw = &c.writer; in bt_convert__perf2ctf()