X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=25aeada6541359505041199a97135e6ab66590d6;hb=022349df3783b538b41cf4a3cd55e7b231603bdd;hp=4c8c3cc62f310be594444d33492fe5634c4103da;hpb=75018ab6aaa9b49e6248b002d9795319a0e5bb9a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 4c8c3cc62..25aeada65 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -21,7 +21,7 @@ #include -#include +#include #include "trace-ust.h" #include "ust-registry.h" @@ -365,6 +365,7 @@ enum lttng_error_code ust_app_create_channel_subdirectories( const struct ltt_ust_session *session); int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data); +enum lttng_error_code ust_app_clear_session(struct ltt_session *session); static inline int ust_app_supported(void) @@ -611,6 +612,12 @@ int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *da return 0; } +static inline +enum lttng_error_code ust_app_clear_session(struct ltt_session *session) +{ + return 0; +} + #endif /* HAVE_LIBLTTNG_UST_CTL */ #endif /* _LTT_UST_APP_H */