Add a comment clarifying the ownership of triggers
[lttng-tools.git] / 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.024072 seconds and 4 git commands to generate.