#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
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 */
{
return 0;
}
+static inline
+int ust_app_calibrate_glb(struct lttng_ust_calibrate *calibrate)
+{
+ return 0;
+}
#endif /* HAVE_LIBLTTNG_UST_CTL */