X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread.hpp;h=c995fc951d8e515c30c1c237b6be25b894bf20eb;hb=HEAD;hp=2ff86dc0613a04fb3e4e75618516c07fb83a9ccb;hpb=139a8d250fb18f8ffc95b0936f7285f7b484b72f;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/notification-thread.hpp b/src/bin/lttng-sessiond/notification-thread.hpp index 2ff86dc06..c995fc951 100644 --- a/src/bin/lttng-sessiond/notification-thread.hpp +++ b/src/bin/lttng-sessiond/notification-thread.hpp @@ -10,18 +10,21 @@ #include "action-executor.hpp" #include "thread.hpp" + #include #include #include -#include + #include +#include + #include #include #include #include #include -typedef uint64_t notification_client_id; +using notification_client_id = uint64_t; /* * The notification thread holds no ownership of the tracer event source pipe @@ -151,8 +154,8 @@ struct notification_thread_handle { * for lookup on registration. * - tracer_event_sources_list: * A list of tracer event source (read side fd) of type -* struct notification_event_tracer_event_source_element. -* + * struct notification_event_tracer_event_source_element. + * * * The thread reacts to the following internal events: * 1) creation of a tracing channel, @@ -315,13 +318,11 @@ struct notification_thread_state { }; /* notification_thread_data takes ownership of the channel monitor pipes. */ -struct notification_thread_handle *notification_thread_handle_create( - struct lttng_pipe *ust32_channel_monitor_pipe, - struct lttng_pipe *ust64_channel_monitor_pipe, - struct lttng_pipe *kernel_channel_monitor_pipe); -void notification_thread_handle_destroy( - struct notification_thread_handle *handle); -struct lttng_thread *launch_notification_thread( - struct notification_thread_handle *handle); +struct notification_thread_handle * +notification_thread_handle_create(struct lttng_pipe *ust32_channel_monitor_pipe, + struct lttng_pipe *ust64_channel_monitor_pipe, + struct lttng_pipe *kernel_channel_monitor_pipe); +void notification_thread_handle_destroy(struct notification_thread_handle *handle); +struct lttng_thread *launch_notification_thread(struct notification_thread_handle *handle); #endif /* NOTIFICATION_THREAD_H */