X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevents-internal.h;h=a727230ffffb8c21320b04b502e98ff4755987d1;hb=f3559e5b06b24ad0336211950792fa97398c5e9a;hp=ef1bed28432008fed28c1d2dbc8541f482644a38;hpb=23d91ab1f33370551feceddd93a1ecac7213e692;p=lttng-modules.git diff --git a/include/lttng/events-internal.h b/include/lttng/events-internal.h index ef1bed28..a727230f 100644 --- a/include/lttng/events-internal.h +++ b/include/lttng/events-internal.h @@ -9,6 +9,7 @@ #define _LTTNG_EVENTS_INTERNAL_H #include +#include #include @@ -309,7 +310,7 @@ struct lttng_metadata_cache { atomic_t producing; /* Metadata being produced (incomplete) */ struct kref refcount; /* Metadata cache usage */ struct list_head metadata_stream; /* Metadata stream list */ - uuid_le uuid; /* Trace session unique ID (copy) */ + guid_t uuid; /* Trace session unique ID (copy) */ struct mutex lock; /* Produce/consume lock */ uint64_t version; /* Current version of the metadata */ }; @@ -459,7 +460,7 @@ struct lttng_kernel_session_private { struct list_head events; /* Event list head */ struct list_head list; /* Session list */ unsigned int free_chan_id; /* Next chan ID to allocate */ - uuid_le uuid; /* Trace session unique ID */ + guid_t uuid; /* Trace session unique ID */ struct lttng_metadata_cache *metadata_cache; unsigned int metadata_dumped:1, tstate:1; /* Transient enable state */