X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=91f6b5ca15a6ddbdcbc8f28e641f824e34a4c64d;hb=e5d1a9b33aa0920bbd9f6948bd0676156da67c61;hp=2003cbe43003f304c7bf60387416b9a5c8a1da76;hpb=567eb353c7f88e2fdaa106eb7e0a38dbb8717792;p=lttng-tools.git diff --git a/src/common/consumer.h b/src/common/consumer.h index 2003cbe43..91f6b5ca1 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -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;