{
int ret;
struct ctf_packet_index index;
memset(&index, 0, sizeof(index));
{
int ret;
struct ctf_packet_index index;
memset(&index, 0, sizeof(index));
index.timestamp_end = htobe64(ts);
ret = consumer_stream_write_index(stream, &index);
if (ret < 0) {
index.timestamp_end = htobe64(ts);
ret = consumer_stream_write_index(stream, &index);
if (ret < 0) {
* Block the RT signals for the entire process. It must be called from the
* consumer main before creating the threads
*/
* Block the RT signals for the entire process. It must be called from the
* consumer main before creating the threads
*/