X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-internal.h;fp=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-internal.h;h=0403527dca1f4f5b67d0f25cbe0cb91efee27eda;hp=eb23d1f78fa2df8d106cdb9fe4caddf1177bb90d;hb=b9a8d78fefbc856370939d9eb553d6e9c1fcc86a;hpb=381140130b556bdccc8c7a45d843dcd34c6d7b8f diff --git a/src/bin/lttng-sessiond/notification-thread-internal.h b/src/bin/lttng-sessiond/notification-thread-internal.h index eb23d1f78..0403527dc 100644 --- a/src/bin/lttng-sessiond/notification-thread-internal.h +++ b/src/bin/lttng-sessiond/notification-thread-internal.h @@ -75,6 +75,15 @@ struct channel_info { struct rcu_head rcu_node; }; +/* + * Facilities to carry the different notifications type in the action + * processing code path. + */ +struct lttng_event_notifier_notification { + uint64_t tracer_token; + enum lttng_domain_type type; +}; + struct notification_client_list_element { struct notification_client *client; struct cds_list_head node; @@ -239,4 +248,13 @@ int notification_thread_client_communication_update( notification_client_id id, enum client_transmission_status transmission_status); +LTTNG_HIDDEN +struct lttng_event_notifier_notification *lttng_event_notifier_notification_create( + uint64_t tracer_token, + enum lttng_domain_type domain); + +LTTNG_HIDDEN +void lttng_event_notifier_notification_destroy( + struct lttng_event_notifier_notification *event_notifier_notification); + #endif /* NOTIFICATION_THREAD_INTERNAL_H */