ctf_writer
static int add_tracepoint_fields_types(struct ctf_writer *cw,
static int add_tracepoint_types(struct ctf_writer *cw,
static int add_bpf_output_types(struct ctf_writer *cw,
static int add_generic_types(struct ctf_writer *cw, struct evsel *evsel,
static int add_event(struct ctf_writer *cw, struct evsel *evsel)
static int setup_events(struct ctf_writer *cw, struct perf_session *session)
static int add_##_name##_event(struct ctf_writer *cw) \
static int setup_non_sample_events(struct ctf_writer *cw,
static int setup_streams(struct ctf_writer *cw, struct perf_session *session)
static void free_streams(struct ctf_writer *cw)
static int ctf_writer__setup_env(struct ctf_writer *cw,
struct ctf_writer *cw = &c->writer;
static int ctf_writer__setup_clock(struct ctf_writer *cw,
static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \
static void ctf_writer__cleanup_data(struct ctf_writer *cw)
static int ctf_writer__init_data(struct ctf_writer *cw)
static void ctf_writer__cleanup(struct ctf_writer *cw)
static int ctf_writer__init(struct ctf_writer *cw, const char *path,
static int ctf_writer__flush_streams(struct ctf_writer *cw)
struct ctf_writer *cw = &c.writer;
value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event,
get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field)
static int add_tracepoint_field_value(struct ctf_writer *cw,
static int add_tracepoint_fields_values(struct ctf_writer *cw,
static int add_tracepoint_values(struct ctf_writer *cw,
static int add_generic_values(struct ctf_writer *cw,
static struct ctf_stream *ctf_stream__create(struct ctf_writer *cw, int cpu)
static struct ctf_stream *ctf_stream(struct ctf_writer *cw, int cpu)
static int get_sample_cpu(struct ctf_writer *cw, struct perf_sample *sample,
struct ctf_writer *cw = &c->writer;
struct ctf_writer *cw = &c->writer; \
struct ctf_writer writer;