relayd: open live viewer files from the current stream's trace chunk
[lttng-tools.git] / src / bin / lttng-relayd / viewer-stream.h
index 2514b172214ac02d6929042180cc15b7215e94b9..7c42dfad39a7444038400101b88334aae622237a 100644 (file)
@@ -45,13 +45,15 @@ struct relay_stream;
  */
 struct relay_viewer_stream {
        struct urcu_ref ref;
-       pthread_mutex_t reflock;
 
        /* Back ref to stream. */
        struct relay_stream *stream;
 
-       /* FD from which to read the stream data. */
-       struct stream_fd *stream_fd;
+       struct {
+               /* FD from which to read the stream data. */
+               struct stream_fd *fd;
+               struct lttng_trace_chunk *trace_chunk;
+       } stream_file;
        /* index file from which to read the index data. */
        struct lttng_index_file *index_file;
 
This page took 0.025063 seconds and 4 git commands to generate.