#include <babeltrace/context-internal.h>
#include <babeltrace/compat/uuid.h>
#include <babeltrace/endian.h>
#include <babeltrace/context-internal.h>
#include <babeltrace/compat/uuid.h>
#include <babeltrace/endian.h>
static
int ctf_timestamp_begin(struct bt_trace_descriptor *descriptor,
struct bt_trace_handle *handle, enum bt_clock_type type,
static
int ctf_timestamp_begin(struct bt_trace_descriptor *descriptor,
struct bt_trace_handle *handle, enum bt_clock_type type,
* because its size includes garbage at the end (after final
* \0). This is the allocated size, not the actual string size.
*/
* because its size includes garbage at the end (after final
* \0). This is the allocated size, not the actual string size.
*/
/* read packet_seq_num from header */
len_index = bt_struct_declaration_lookup_field_index(
file_stream->parent.stream_packet_context->declaration,
/* read packet_seq_num from header */
len_index = bt_struct_declaration_lookup_field_index(
file_stream->parent.stream_packet_context->declaration,