Fix: liblttng-ctl comm: lttng_channel is not packed
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index adb179675cad881f239a30fff00ed0627c993a70..318753d978240142ed9fadc08238df99dd44c19c 100644 (file)
@@ -461,8 +461,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 {
@@ -608,6 +607,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.023484 seconds and 4 git commands to generate.