Fix: consumer data pending for empty streams
[lttng-tools.git] / src / common / consumer.h
index 2003cbe43003f304c7bf60387416b9a5c8a1da76..91f6b5ca15a6ddbdcbc8f28e641f824e34a4c64d 100644 (file)
@@ -221,6 +221,8 @@ struct lttng_consumer_stream {
        int out_fd; /* output file to write the data */
        /* Write position in the output file descriptor */
        off_t out_fd_offset;
+       /* Amount of bytes written to the output */
+       uint64_t output_written;
        enum lttng_consumer_stream_state state;
        int shm_fd_is_copy;
        int data_read;
This page took 0.025012 seconds and 5 git commands to generate.