sessiond: setup event notifier group for registering app
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index 164bc2c6f2c95acf59d91e2a339cd55f3b338fef..449173cd36a94a2f965a6a31c2ee351732e8fc22 100644 (file)
@@ -292,6 +292,17 @@ struct ust_app {
         * Used for path creation
         */
        time_t registration_time;
+       /*
+        * Event notifier
+        */
+       struct {
+               /*
+                * Handle to the lttng_ust object representing the event
+                * notifier group.
+                */
+               struct lttng_ust_object_data *object;
+               struct lttng_pipe *event_pipe;
+       } event_notifier_group;
 };
 
 #ifdef HAVE_LIBLTTNG_UST_CTL
@@ -356,6 +367,8 @@ int ust_app_release_object(struct ust_app *app,
 enum lttng_error_code ust_app_clear_session(struct ltt_session *session);
 enum lttng_error_code ust_app_open_packets(struct ltt_session *session);
 
+int ust_app_setup_event_notifier_group(struct ust_app *app);
+
 static inline
 int ust_app_supported(void)
 {
@@ -444,6 +457,14 @@ static inline
 void ust_app_global_update(struct ltt_ust_session *usess, struct ust_app *app)
 {}
 static inline
+void ust_app_global_update_tokens(struct ust_app *app)
+{}
+static inline
+int ust_app_setup_event_notifier_group(struct ust_app *app)
+{
+       return 0;
+}
+static inline
 int ust_app_disable_channel_glb(struct ltt_ust_session *usess,
                struct ltt_ust_channel *uchan)
 {
This page took 0.022938 seconds and 4 git commands to generate.