From: Mathieu Desnoyers Date: Wed, 27 Jul 2011 14:42:06 +0000 (-0400) Subject: ltt-context: document that pointers may change X-Git-Tag: v1.9.1~320 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a0a748b81a17573ce2adbc4441b231371cf76849;p=lttng-ust.git ltt-context: document that pointers may change Signed-off-by: Mathieu Desnoyers --- diff --git a/libust/ltt-context.c b/libust/ltt-context.c index 030a11b0..402f0c48 100644 --- a/libust/ltt-context.c +++ b/libust/ltt-context.c @@ -16,6 +16,9 @@ #include "ltt-events.h" #include "ltt-tracer.h" +/* + * Note: as we append context information, the pointer location may change. + */ struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx_p) { struct lttng_ctx_field *field;