Spawn autonomous listener threads
[lttng-ust.git] / include / lttng-sessiond-comm.h
index be903a6ce3f9f66c909864f1cfbaf2a75743e2a7..8dbad391e04012cb53ae1151715744ecf8c7cc47 100644 (file)
@@ -174,6 +174,26 @@ struct lttcomm_lttng_msg {
        char payload[];
 };
 
+/*
+ * Data structure for the response from UST to the session daemon.
+ * cmd_type is sent back in the reply for validation.
+ */
+struct lttcomm_ust_msg {
+       uint32_t cmd_type;      /* enum lttcomm_sessiond_command */
+       uint32_t ret_code;      /* enum enum lttcomm_return_code */
+       union {
+               struct {
+                       uint32_t handle;        /* session handle */
+               } session;
+               struct {
+                       uint32_t handle;        /* channel handle */
+               } channel;
+               struct {
+                       uint32_t handle;        /* event handle */
+               } event;
+       } u;
+};
+
 /*
  * Data structures for the kconsumerd communications
  *
This page took 0.026692 seconds and 4 git commands to generate.