X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=c9c47284c70a0a7a7558da949d839ceb2cbab7a6;hb=2f0790d05d697a9a74dd4e665d18d34edacd8213;hp=92ac9c4e1e4af29af2f387cb82d50338fdb9bfcd;hpb=24aa905d6ce4283c13cdacff133289276a828078;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 92ac9c4e1..c9c47284c 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -315,6 +315,12 @@ 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); +static inline +int ust_app_supported(void) +{ + return 1; +} + #else /* HAVE_LIBLTTNG_UST_CTL */ static inline @@ -512,6 +518,12 @@ void ust_app_destroy(struct ust_app *app) return; } +static inline +int ust_app_supported(void) +{ + return 0; +} + #endif /* HAVE_LIBLTTNG_UST_CTL */ #endif /* _LTT_UST_APP_H */