Documentation: document that sequence len field is unsigned
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Apr 2013 00:40:12 +0000 (20:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Apr 2013 00:40:12 +0000 (20:40 -0400)
Fixes #471

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/man/lttng-ust.3

index 5effb9f5a3b8b5c63f27cc686bd2a5daa46f0eeb..5be3cfaa081a669cb8d9b9e990117dd63f9bc735 100644 (file)
@@ -123,6 +123,10 @@ TRACEPOINT_EVENT(
                 * ctf_sequence: a dynamically-sized array.
                 * args: (type, field name, argument expression,
                 *      type of length expression, length expression)
+                * The "type of length expression" needs to be an
+                * unsigned type. As a reminder, "unsigned char" should
+                * be preferred to "char", since the signedness of
+                * "char" is implementation-defined.
                 */ 
                ctf_sequence(char, seqfield1, text,
                             size_t, textlen)
This page took 0.025411 seconds and 4 git commands to generate.