X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=30835e03fb064523b6298073e656b99b33bcf0ae;hp=6e6ff0203cdb9cc1ddf88a1d626f0cd96db5f033;hb=f45e313daba4dc617f3036ca0ce0e6de305a4ba5;hpb=12e2b88170b3bf7a55beb692c717470752ad51eb diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 6e6ff0203..30835e03f 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -305,6 +305,7 @@ struct ust_app *ust_app_create(struct ust_register_msg *msg, int sock); void ust_app_notify_sock_unregister(int sock); ssize_t ust_app_push_metadata(struct ust_registry_session *registry, struct consumer_socket *socket, int send_zero_data); +void ust_app_destroy(struct ust_app *app); #else /* HAVE_LIBLTTNG_UST_CTL */ @@ -497,6 +498,11 @@ ssize_t ust_app_push_metadata(struct ust_registry_session *registry, { return 0; } +static inline +void ust_app_destroy(struct ust_app *app) +{ + return; +} #endif /* HAVE_LIBLTTNG_UST_CTL */