From: Jérémie Galarneau Date: Fri, 17 Aug 2018 17:25:56 +0000 (-0400) Subject: Add a comment clarifying the ownership of triggers X-Git-Tag: v2.11.0-rc1~123 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9e0bb80e5e06934fe204d77227af31aea38aa323;p=lttng-tools.git Add a comment clarifying the ownership of triggers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index e55c0668a..f437d018b 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -51,7 +51,8 @@ #define CLIENT_POLL_MASK_IN_OUT (CLIENT_POLL_MASK_IN | LPOLLOUT) struct lttng_trigger_list_element { - struct lttng_trigger *trigger; + /* No ownership of the trigger object is assumed. */ + const struct lttng_trigger *trigger; struct cds_list_head node; };