Fix: liblttng-ust-fork Makefile flags mismatch
[lttng-ust.git] / include / ust-comm.h
index 014b5ede45b2441e80c7223b5a3cfb87470d00fb..0034f2aa864cc9d1a5fbdd5ec537e4d0dc497eec 100644 (file)
@@ -30,6 +30,7 @@
 #include <unistd.h>
 #include <lttng/ust-abi.h>
 #include <lttng/ust-error.h>
+#include <lttng/ust-compiler.h>
 
 /*
  * Default timeout the application waits for the sessiond to send its
@@ -70,9 +71,10 @@ struct ustcomm_ust_msg {
                struct {
                        uint32_t data_size;     /* following filter data */
                        uint32_t reloc_offset;
-               } filter;
+                       uint64_t seqnum;
+               } LTTNG_PACKED filter;
        } u;
-};
+} LTTNG_PACKED;
 
 /*
  * Data structure for the response from UST to the session daemon.
@@ -86,14 +88,14 @@ struct ustcomm_ust_reply {
        union {
                struct {
                        uint64_t memory_map_size;
-               } channel;
+               } LTTNG_PACKED channel;
                struct {
                        uint64_t memory_map_size;
-               } stream;
+               } LTTNG_PACKED stream;
                struct lttng_ust_tracer_version version;
                struct lttng_ust_tracepoint_iter tracepoint;
        } u;
-};
+} LTTNG_PACKED;
 
 /*
  * LTTNG_UST_TRACEPOINT_FIELD_LIST reply is followed by a
This page took 0.023215 seconds and 4 git commands to generate.