Lines Matching refs:len_field
448 struct bt_ctf_field *len_field, *seq_field; in add_bpf_output_values() local
459 len_field = bt_ctf_field_create(len_type); in add_bpf_output_values()
460 if (!len_field) { in add_bpf_output_values()
466 ret = bt_ctf_field_unsigned_integer_set_value(len_field, nr_elements); in add_bpf_output_values()
471 ret = bt_ctf_event_set_payload(event, "raw_len", len_field); in add_bpf_output_values()
485 ret = bt_ctf_field_sequence_set_length(seq_field, len_field); in add_bpf_output_values()
514 bt_ctf_field_put(len_field); in add_bpf_output_values()
526 struct bt_ctf_field *len_field, *seq_field; in add_callchain_output_values() local
533 len_field = bt_ctf_field_create(len_type); in add_callchain_output_values()
534 if (!len_field) { in add_callchain_output_values()
540 ret = bt_ctf_field_unsigned_integer_set_value(len_field, nr_elements); in add_callchain_output_values()
545 ret = bt_ctf_event_set_payload(event, "perf_callchain_size", len_field); in add_callchain_output_values()
560 ret = bt_ctf_field_sequence_set_length(seq_field, len_field); in add_callchain_output_values()
589 bt_ctf_field_put(len_field); in add_callchain_output_values()