X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flttng-sessiond-comm.h;h=d282f77dea2cb485f964b56740a1822998339aa9;hb=7753dea8e1af2342c4d42d2efc5da62538709ca8;hp=ae978c2780e04dde206537396c87c6d1566d8b04;hpb=322585731ced1adba36cddcb8bdd5d997d1b2e3e;p=lttng-tools.git diff --git a/include/lttng-sessiond-comm.h b/include/lttng-sessiond-comm.h index ae978c278..d282f77de 100644 --- a/include/lttng-sessiond-comm.h +++ b/include/lttng-sessiond-comm.h @@ -125,7 +125,8 @@ enum lttcomm_return_code { LTTCOMM_UST_META_FAIL, /* UST open metadata failed */ LTTCOMM_UST_START_FAIL, /* UST start trace failed */ LTTCOMM_UST_STOP_FAIL, /* UST stop trace failed */ - LTTCOMM_UST_CONSUMER_FAIL, /* UST consumer start failed */ + LTTCOMM_UST_CONSUMER64_FAIL, /* 64-bit UST consumer start failed */ + LTTCOMM_UST_CONSUMER32_FAIL, /* 32-bit UST consumer start failed */ LTTCOMM_UST_STREAM_FAIL, /* UST create stream failed */ LTTCOMM_UST_DIR_FAIL, /* UST trace directory creation failed */ LTTCOMM_UST_DIR_EXIST, /* UST trace directory exist */ @@ -227,9 +228,9 @@ struct lttcomm_consumer_msg { } u; }; -#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST +#ifdef HAVE_LIBLTTNG_UST_CTL -#include +#include /* * Data structure for the commands sent from sessiond to UST. @@ -266,7 +267,7 @@ struct lttcomm_ust_reply { } u; }; -#endif /* CONFIG_LTTNG_TOOLS_HAVE_UST */ +#endif /* HAVE_LIBLTTNG_UST_CTL */ extern int lttcomm_create_unix_sock(const char *pathname); extern int lttcomm_connect_unix_sock(const char *pathname);