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()
596 static int add_generic_values(struct ctf_writer *cw, in add_generic_values()
691 static struct ctf_stream *ctf_stream__create(struct ctf_writer *cw, int cpu) in ctf_stream__create()
754 static struct ctf_stream *ctf_stream(struct ctf_writer *cw, int cpu) in ctf_stream()
766 static int get_sample_cpu(struct ctf_writer *cw, struct perf_sample *sample, in get_sample_cpu()
804 struct ctf_writer *cw = &c->writer; in process_sample_event()
881 struct ctf_writer *cw = &c->writer; \
1021 static int add_tracepoint_fields_types(struct ctf_writer *cw, in add_tracepoint_fields_types()
1064 static int add_tracepoint_types(struct ctf_writer *cw, in add_tracepoint_types()
1080 static int add_bpf_output_types(struct ctf_writer *cw, in add_bpf_output_types()
1099 static int add_generic_types(struct ctf_writer *cw, struct evsel *evsel, in add_generic_types()
1165 static int add_event(struct ctf_writer *cw, struct evsel *evsel) in add_event()
1214 static int setup_events(struct ctf_writer *cw, struct perf_session *session) in setup_events()
1238 static int add_##_name##_event(struct ctf_writer *cw) \
1298 static int setup_non_sample_events(struct ctf_writer *cw,
1338 static int setup_streams(struct ctf_writer *cw, struct perf_session *session) in setup_streams()
1361 static void free_streams(struct ctf_writer *cw) in free_streams()
1371 static int ctf_writer__setup_env(struct ctf_writer *cw, in ctf_writer__setup_env()
1395 static int ctf_writer__setup_clock(struct ctf_writer *cw, in ctf_writer__setup_clock()
1463 static void ctf_writer__cleanup_data(struct ctf_writer *cw) in ctf_writer__cleanup_data()
1471 static int ctf_writer__init_data(struct ctf_writer *cw) in ctf_writer__init_data()
1497 static void ctf_writer__cleanup(struct ctf_writer *cw) in ctf_writer__cleanup()
1510 static int ctf_writer__init(struct ctf_writer *cw, const char *path, in ctf_writer__init()
1583 static int ctf_writer__flush_streams(struct ctf_writer *cw) in ctf_writer__flush_streams()
1613 struct ctf_writer *cw = &c.writer; in bt_convert__perf2ctf()