X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=liblttng-ust%2Fust-events-internal.h;h=f6ab27a2572bd2e2e923cce77501d34f7869c8f1;hb=0c2f844420608b1865b77cff1e84ce01bb9e3937;hp=6ade956e769be4a5ca37fab357e4a7a84ed06c40;hpb=8441d764b31826a03aeea3f92b716d257b816616;p=lttng-ust.git diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index 6ade956e..f6ab27a2 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -332,6 +332,9 @@ struct lttng_ust_session_private { struct lttng_ust_enum_ht enums_ht; /* ht of enumerations */ struct cds_list_head enums_head; struct lttng_ust_ctx *ctx; /* contexts for filters. */ + + unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */ + bool uuid_set; /* Is uuid set ? */ }; struct lttng_enum { @@ -893,4 +896,8 @@ int lttng_ust_interpret_event_filter(struct lttng_ust_event_common *event, const char *interpreter_stack_data, void *filter_ctx); +__attribute__((visibility("hidden"))) +int lttng_ust_session_uuid_validate(struct lttng_ust_session *session, + unsigned char *uuid); + #endif /* _LTTNG_UST_EVENTS_INTERNAL_H */