[ltt-dev] [UST commit] Update note in buffer.c

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri May 20 16:33:19 EDT 2011


commit 283f11580b1ef306fc9592bde3c352d9216521be
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Fri May 20 16:33:52 2011 -0400

    Update note in buffer.c
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

diff --git a/libust/buffers.c b/libust/buffers.c
index c8976c7..8ecebb9 100644
--- a/libust/buffers.c
+++ b/libust/buffers.c
@@ -22,7 +22,9 @@
 
 /*
  * Note: this code does not support the ref/noref flag and reader-owned
- * subbuffer scheme needed for flight recorder mode.
+ * subbuffer scheme. Therefore, flight recorder mode uses a mechanism
+ * where the reader can read corrupted data (and detect this), thus
+ * returning -EIO.
  */
 
 #include <unistd.h>

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list