X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftracker.cpp;h=41e141afe63ae36e09e3caa9f5bb9b21f07331c3;hp=181a0a8c9c69e411136c7e78979aba5af1d4a013;hb=2d7da3031c65c4569ff2428a7c2cad30007f3b50;hpb=9016dbfc649a21e911ed0d5cc19bb68db35af531 diff --git a/src/common/tracker.cpp b/src/common/tracker.cpp index 181a0a8c9..41e141afe 100644 --- a/src/common/tracker.cpp +++ b/src/common/tracker.cpp @@ -22,7 +22,7 @@ struct process_attr_tracker_values_comm_header { uint32_t count; -}; +} LTTNG_PACKED; struct process_attr_tracker_value_comm { /* enum lttng_process_attr_value_type */ @@ -32,7 +32,7 @@ struct process_attr_tracker_value_comm { /* Includes the '\0' terminator. */ uint32_t name_len; } value; -}; +} LTTNG_PACKED; #define GET_INTEGRAL_COMM_VALUE(value_ptr, as_type) \ ((as_type)(std::is_signed::value ? (value_ptr)->u._signed : \