X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng-ust-comm.h;h=2e5c7173c40668e6ca76c78d156aa911f660c020;hb=8cb5d813874d3b62cea4a7d5f3748191d5ebcb5e;hp=f06872b1bdb6ef2cebc4588bbbfcbc82da3410dc;hpb=7fc90dcaa8cba59beb31421e48b2095b922e860b;p=ust.git diff --git a/include/lttng-ust-comm.h b/include/lttng-ust-comm.h index f06872b..2e5c717 100644 --- a/include/lttng-ust-comm.h +++ b/include/lttng-ust-comm.h @@ -47,7 +47,7 @@ #define DEFAULT_HOME_CLIENT_UNIX_SOCK "%s/.client-ltt-sessiond" #define DEFAULT_GLOBAL_APPS_WAIT_SHM_PATH "/lttng-ust-apps-wait" -#define DEFAULT_HOME_APPS_WAIT_SHM_PATH "/%u-lttng-ust-apps-wait" +#define DEFAULT_HOME_APPS_WAIT_SHM_PATH "/lttng-ust-apps-wait-%u" /* Queue size of listen(2) */ #define MAX_LISTEN 10 @@ -126,6 +126,7 @@ struct lttcomm_ust_msg { union { struct lttng_ust_tracer_version version; struct lttng_ust_channel channel; + struct lttng_ust_stream stream; struct lttng_ust_event event; struct lttng_ust_context context; } u; @@ -141,6 +142,12 @@ struct lttcomm_ust_reply { uint32_t ret_code; /* enum enum lttcomm_return_code */ uint32_t ret_val; /* return value */ union { + struct { + uint64_t memory_map_size; + } channel; + struct { + uint64_t memory_map_size; + } stream; } u; };