X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=449173cd36a94a2f965a6a31c2ee351732e8fc22;hp=164bc2c6f2c95acf59d91e2a339cd55f3b338fef;hb=da8734126339713603c25799dcd1dd72726730de;hpb=faa88ea855741f5c356d223011ff4b347576c7d2 diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 164bc2c6f..449173cd3 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -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) {