} medium;
/* Current packet size (bits) (-1 if unknown) */
- size_t cur_packet_size;
+ int64_t cur_packet_size;
/* Current content size (bits) (-1 if unknown) */
- size_t cur_content_size;
+ int64_t cur_content_size;
};
static
BT_PUT(notit->meta.stream_class);
- // TODO: get by ID
- notit->meta.stream_class = bt_ctf_trace_get_stream_class(
+ notit->meta.stream_class = bt_ctf_trace_get_stream_class_by_id(
notit->meta.trace, stream_id);
if (!notit->meta.stream_class) {
PERR("Cannot find stream class with ID %" PRIu64 "\n",