Lines Matching defs:cw
206 static int add_tracepoint_field_value(struct ctf_writer *cw, in add_tracepoint_field_value()
317 static int add_tracepoint_fields_values(struct ctf_writer *cw, in add_tracepoint_fields_values()
335 static int add_tracepoint_values(struct ctf_writer *cw, in add_tracepoint_values()
354 static int add_generic_values(struct ctf_writer *cw, in add_generic_values()
450 static struct ctf_stream *ctf_stream__create(struct ctf_writer *cw, int cpu) in ctf_stream__create()
513 static struct ctf_stream *ctf_stream(struct ctf_writer *cw, int cpu) in ctf_stream()
525 static int get_sample_cpu(struct ctf_writer *cw, struct perf_sample *sample, in get_sample_cpu()
563 struct ctf_writer *cw = &c->writer; in process_sample_event() local
688 static int add_tracepoint_fields_types(struct ctf_writer *cw, in add_tracepoint_fields_types()
731 static int add_tracepoint_types(struct ctf_writer *cw, in add_tracepoint_types()
746 static int add_generic_types(struct ctf_writer *cw, struct perf_evsel *evsel, in add_generic_types()
803 static int add_event(struct ctf_writer *cw, struct perf_evsel *evsel) in add_event()
846 static int setup_events(struct ctf_writer *cw, struct perf_session *session) in setup_events()
860 static int setup_streams(struct ctf_writer *cw, struct perf_session *session) in setup_streams()
883 static void free_streams(struct ctf_writer *cw) in free_streams()
893 static int ctf_writer__setup_env(struct ctf_writer *cw, in ctf_writer__setup_env()
917 static int ctf_writer__setup_clock(struct ctf_writer *cw) in ctf_writer__setup_clock()
964 static void ctf_writer__cleanup_data(struct ctf_writer *cw) in ctf_writer__cleanup_data()
972 static int ctf_writer__init_data(struct ctf_writer *cw) in ctf_writer__init_data()
997 static void ctf_writer__cleanup(struct ctf_writer *cw) in ctf_writer__cleanup()
1010 static int ctf_writer__init(struct ctf_writer *cw, const char *path) in ctf_writer__init()
1082 static int ctf_writer__flush_streams(struct ctf_writer *cw) in ctf_writer__flush_streams()
1127 struct ctf_writer *cw = &c.writer; in bt_convert__perf2ctf() local