X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Fltt-ring-buffer-client.h;h=0b6cd3e4536935f90bd183d006bdc6184cb4f95b;hb=231227ee22e4f2d4f1967bc421f7988a5eaabfa3;hp=d64af55503994038cce8f0ffc510996bc4d483e8;hpb=04489ab41c8840d811884b668fe4cc5b46ef69a7;p=lttng-ust.git diff --git a/liblttng-ust/ltt-ring-buffer-client.h b/liblttng-ust/ltt-ring-buffer-client.h index d64af555..0b6cd3e4 100644 --- a/liblttng-ust/ltt-ring-buffer-client.h +++ b/liblttng-ust/ltt-ring-buffer-client.h @@ -24,6 +24,7 @@ #include #include "lttng/bitfield.h" #include "clock.h" +#include "lttng-ust-uuid.h" #include "ltt-tracer.h" #include "../libringbuffer/frontend_types.h" @@ -43,14 +44,14 @@ struct packet_header { * Trace magic number. * contains endianness information. */ - uint8_t uuid[16]; + uint8_t uuid[LTTNG_UST_UUID_LEN]; uint32_t stream_id; struct { /* Stream packet context */ uint64_t timestamp_begin; /* Cycle count at subbuffer start */ uint64_t timestamp_end; /* Cycle count at subbuffer end */ - uint32_t events_discarded; /* + unsigned long events_discarded; /* * Events lost in this subbuffer since * the beginning of the trace. * (may overflow)