struct bt_stream_callbacks;
struct packet_index_time {
- uint64_t timestamp_begin;
- uint64_t timestamp_end;
+ int64_t timestamp_begin;
+ int64_t timestamp_end;
};
struct packet_index {
uint64_t events_discarded_len; /* length of the field, in bits */
struct packet_index_time ts_cycles; /* timestamp in cycles */
struct packet_index_time ts_real; /* realtime timestamp */
+ /* CTF_INDEX 1.0 limit */
+ uint64_t stream_instance_id; /* ID of the channel instance */
+ uint64_t packet_seq_num; /* packet sequence number */
};
/*
}
void ctf_print_timestamp(FILE *fp, struct ctf_stream_definition *stream,
- uint64_t timestamp);
+ int64_t timestamp);
int ctf_append_trace_metadata(struct bt_trace_descriptor *tdp,
FILE *metadata_fp);