Add a comment clarifying the ownership of triggers
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Aug 2018 17:25:56 +0000 (13:25 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 24 Aug 2018 01:15:03 +0000 (21:15 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread-events.c

index e55c0668ad46449324abab34b491f239cb26e7ce..f437d018b3fdd493e12465e1b121f705784eece8 100644 (file)
@@ -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;
 };
 
This page took 0.030835 seconds and 5 git commands to generate.