Fix: sessiond: rotation thread: fatal error when not finding a session
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-commands.h
index 882959a29d0cc2c571e70e49d78552997ae71531..643b0e6020913432b47e763790cbf3421080e2cc 100644 (file)
@@ -43,6 +43,7 @@ struct notification_thread_command {
                /* Register trigger. */
                struct {
                        struct lttng_trigger *trigger;
+                       bool is_trigger_anonymous;
                } register_trigger;
                /* Unregister trigger. */
                struct {
@@ -72,6 +73,7 @@ struct notification_thread_command {
                        uid_t uid;
                        gid_t gid;
                        uint64_t trace_archive_chunk_id;
+                       /* Weak reference. */
                        struct lttng_trace_archive_location *location;
                } session_rotation;
                /* Add/Remove tracer event source fd. */
@@ -112,7 +114,8 @@ struct notification_thread_command {
 
 enum lttng_error_code notification_thread_command_register_trigger(
                struct notification_thread_handle *handle,
-               struct lttng_trigger *trigger);
+               struct lttng_trigger *trigger,
+               bool is_anonymous_trigger);
 
 enum lttng_error_code notification_thread_command_unregister_trigger(
                struct notification_thread_handle *handle,
This page took 0.025349 seconds and 4 git commands to generate.