relayd: open live viewer files from the current stream's trace chunk
[lttng-tools.git] / src / bin / lttng-relayd / viewer-stream.h
index 3d9b076b75f533bf849e6eb6104fa33307d11f32..7c42dfad39a7444038400101b88334aae622237a 100644 (file)
@@ -49,8 +49,11 @@ struct relay_viewer_stream {
        /* 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.025724 seconds and 5 git commands to generate.