Fix: liblttng-ctl comm: lttng_channel is not packed
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 2d6493d8eec989b53c17e361b8f5665bae0f9bb8..a4ea96315ebf5769823ac85acc3e71f6a301a589 100644 (file)
@@ -413,8 +413,7 @@ struct lttcomm_session_msg {
                } LTTNG_PACKED disable;
                /* Create channel */
                struct {
-                       struct lttng_channel chan;
-                       struct lttng_channel_extended extended;
+                       uint32_t length;
                } LTTNG_PACKED channel;
                /* Context */
                struct {
@@ -560,6 +559,14 @@ struct lttcomm_event_command_header {
        uint32_t nb_events;
 } LTTNG_PACKED;
 
+/*
+ * Listing command header.
+ */
+struct lttcomm_list_command_header {
+       /* Number of elements */
+       uint32_t count;
+} LTTNG_PACKED;
+
 /*
  * Event extended info header. This is the structure preceding each
  * extended info data.
This page took 0.024212 seconds and 4 git commands to generate.