X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust-comm.h;h=0034f2aa864cc9d1a5fbdd5ec537e4d0dc497eec;hb=b3f60bbfff0d8b4ead55c0dc7f21985ffb70997e;hp=b9c4cebe5bb9344600099f79902856d976e5111d;hpb=a719be6472181c3d633c17b7f8e877f420d0c358;p=lttng-ust.git diff --git a/include/ust-comm.h b/include/ust-comm.h index b9c4cebe..0034f2aa 100644 --- a/include/ust-comm.h +++ b/include/ust-comm.h @@ -30,6 +30,7 @@ #include #include #include +#include /* * Default timeout the application waits for the sessiond to send its @@ -71,9 +72,9 @@ struct ustcomm_ust_msg { uint32_t data_size; /* following filter data */ uint32_t reloc_offset; uint64_t seqnum; - } filter; + } LTTNG_PACKED filter; } u; -}; +} LTTNG_PACKED; /* * Data structure for the response from UST to the session daemon. @@ -87,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