X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=2bbe785e6850e8c5c21bf54f6ad81011168bfb09;hb=578ce73a104b847b78790041bf30aa9aaa310dd0;hp=2049e53501a95f1ac6ed386f7e3255c060f2b519;hpb=ff0545c9666d3f76db2ab1da1cf5073cf1ecfc45;p=deliverable%2Flttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 2049e535..2bbe785e 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -20,14 +20,13 @@ #include #include +#include #include #include #include #include #include -#define LTTNG_UST_UUID_LEN 16 - struct ltt_channel; struct ltt_session; struct lttng_ust_lib_ring_buffer_ctx; @@ -324,7 +323,7 @@ struct ltt_channel { /* Channel ID, available for consumer too */ unsigned int id; /* Copy of session UUID for consumer (availability through shm) */ - unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */ + uuid_t uuid; /* Trace session unique ID */ }; struct ltt_session { @@ -337,7 +336,7 @@ struct ltt_session { struct cds_list_head wildcards; /* Wildcard list head */ struct cds_list_head list; /* Session list */ unsigned int free_chan_id; /* Next chan ID to allocate */ - unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */ + uuid_t uuid; /* Trace session unique ID */ unsigned int metadata_dumped:1; };