Export consumer ABI, implement ring buffer modifications for consumer
[lttng-ust.git] / include / lttng-ust-comm.h
index e896f1a1015f3e52f042c0f8df1b8e3724715d5e..2e5c7173c40668e6ca76c78d156aa911f660c020 100644 (file)
@@ -46,6 +46,9 @@
 #define DEFAULT_HOME_APPS_UNIX_SOCK         "%s/.apps-ltt-sessiond"
 #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     "/lttng-ust-apps-wait-%u"
+
 /* Queue size of listen(2) */
 #define MAX_LISTEN 10
 
@@ -123,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;
@@ -138,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;
 };
 
This page took 0.024452 seconds and 4 git commands to generate.