Fix: sessiond: list-triggers: don't return internal triggers
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-internal.h
index fe53a51613528fe2ba4a2255030a6f583b180635..800e8fd837a2817a666cc726596fc63fdc2a2a76 100644 (file)
@@ -114,6 +114,7 @@ struct notification_client_list {
        pthread_mutex_t lock;
        struct urcu_ref ref;
        struct lttng_condition *condition;
+       /* List of triggers that have an identical condition than `condition`. */
        struct cds_list_head triggers_list;
        struct cds_list_head clients_list;
        /* Weak reference to container. */
@@ -141,6 +142,7 @@ struct notification_client {
        uint8_t major, minor;
        uid_t uid;
        gid_t gid;
+       bool is_sessiond;
        /*
         * Indicates if the credentials and versions of the client have been
         * checked.
This page took 0.023059 seconds and 4 git commands to generate.