* Returns 0 on success, 1 on EOF, a negative value on error.
*/
int viewer_stream_rotate(struct relay_viewer_stream *vstream,
* Returns 0 on success, 1 on EOF, a negative value on error.
*/
int viewer_stream_rotate(struct relay_viewer_stream *vstream,
/*
* The writer and the reader are not working in the same tracefile, we can
* read up to EOF, we don't care about the total_index_received.
/*
* The writer and the reader are not working in the same tracefile, we can
* read up to EOF, we don't care about the total_index_received.
ret = index_open(vstream->path_name, vstream->channel_name,
vstream->tracefile_count, vstream->tracefile_count_current);
if (ret < 0) {
ret = index_open(vstream->path_name, vstream->channel_name,
vstream->tracefile_count, vstream->tracefile_count_current);
if (ret < 0) {