From: Pierre-Marc Fournier Date: Mon, 15 Feb 2010 05:28:03 +0000 (-0500) Subject: ustd: add FIXME X-Git-Tag: v1.9.1~733 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=14e859d8ecbbed251380ec1c973c31cf9245b047;p=lttng-ust.git ustd: add FIXME --- diff --git a/ustd/lowlevel.c b/ustd/lowlevel.c index 65657490..a79b494b 100644 --- a/ustd/lowlevel.c +++ b/ustd/lowlevel.c @@ -112,6 +112,8 @@ void finish_consuming_dead_subbuffer(struct buffer_info *buf) } /* Check if subbuf was fully written. This is from Mathieu's algorithm/paper. */ + /* FIXME: not sure data_size = 0xffffffff when the buffer is not full. It might + * take the value of the header size initially */ if (((commit_seq - buf->subbuf_size) & commit_seq_mask) - (USTD_BUFFER_TRUNC(consumed_offset, buf) >> n_subbufs_order) == 0 && header->data_size != 0xffffffff && header->sb_size != 0xffffffff) {