X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-ctl.h;h=5a1bb669dfbaef1f129c7ff1a036afd2c6dca8ce;hp=c2ab24ac9978dbac9c5876da885170e6bf64543a;hb=fb45065e7ccafc636e6eec7ab2a463c49e603ebb;hpb=027a694fd396114812d927115f3561088e1b769f diff --git a/src/bin/lttng-sessiond/ust-ctl.h b/src/bin/lttng-sessiond/ust-ctl.h index c2ab24ac9..5a1bb669d 100644 --- a/src/bin/lttng-sessiond/ust-ctl.h +++ b/src/bin/lttng-sessiond/ust-ctl.h @@ -24,6 +24,8 @@ #include +struct ust_app; + /* * FIXME: temporary workaround: we use a lttng-tools local version of * lttng-ust-abi.h if UST is not found. Eventually, we should use our @@ -36,11 +38,7 @@ #include #include -static inline -int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data) -{ - return ustctl_release_object(sock, data); -} +int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data); #else /* HAVE_LIBLTTNG_UST_CTL */ @@ -49,7 +47,7 @@ int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data) #include "lttng-ust-error.h" static inline -int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data) +int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data) { return 0; }