X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=5bfecdb47deb0a8e2b2be9d872a5072f286cba3b;hb=799e2c4f4ecb595fcb52c3e6affd3b4ec7b5b24e;hp=67c09692f33ddc72d76b6fbea665b8bf97bdee73;hpb=e0c7ec2b3d96dd7ddd9375c5f72239a733d0cf24;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index 67c09692f..5bfecdb47 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -24,7 +24,8 @@ #include "trace-ust.h" /* lttng-ust supported version. */ -#define UST_APP_MAJOR_VERSION 1 +#define LTTNG_UST_COMM_MAJOR 2 /* comm protocol major version */ +#define UST_APP_MAJOR_VERSION 2 /* UST version supported */ #define UST_APP_EVENT_LIST_SIZE 32 @@ -173,6 +174,7 @@ void ust_app_ht_alloc(void); struct lttng_ht *ust_app_get_ht(void); struct ust_app *ust_app_find_by_pid(pid_t pid); int ust_app_validate_version(int sock); +int ust_app_calibrate_glb(struct lttng_ust_calibrate *calibrate); #else /* HAVE_LIBLTTNG_UST_CTL */ @@ -333,6 +335,11 @@ int ust_app_validate_version(int sock) { return 0; } +static inline +int ust_app_calibrate_glb(struct lttng_ust_calibrate *calibrate) +{ + return 0; +} #endif /* HAVE_LIBLTTNG_UST_CTL */