From a0a748b81a17573ce2adbc4441b231371cf76849 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 27 Jul 2011 10:42:06 -0400 Subject: [PATCH] ltt-context: document that pointers may change Signed-off-by: Mathieu Desnoyers --- libust/ltt-context.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.34.1