X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=liblttng-ust%2Fust-events-internal.h;h=af72aa665fd847a3d7d2d53d6cd33c43b6adf61f;hb=dc325c1d762bbbdc1866e590f4649078f8600664;hp=0a5d213ce9e2ed5b481a415692a61a431d730b61;hpb=07539b344734a4da4e6010a82acf90b47dbecebd;p=lttng-ust.git diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index 0a5d213c..af72aa66 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -7,6 +7,7 @@ #ifndef _LTTNG_UST_EVENTS_INTERNAL_H #define _LTTNG_UST_EVENTS_INTERNAL_H +#include #include #include @@ -508,7 +509,7 @@ struct lttng_ust_type_common *lttng_ust_create_type_array_text(unsigned int leng array_type->alignment = 0; array_type->encoding = lttng_ust_string_encoding_UTF8; array_type->elem_type = lttng_ust_create_type_integer(sizeof(char) * CHAR_BIT, - lttng_alignof(char) * CHAR_BIT, lttng_is_signed_type(char), + lttng_ust_rb_alignof(char) * CHAR_BIT, lttng_ust_is_signed_type(char), BYTE_ORDER, 10); if (!array_type->elem_type) goto error_elem; @@ -899,4 +900,11 @@ __attribute__((visibility("hidden"))) int lttng_ust_session_uuid_validate(struct lttng_ust_session *session, unsigned char *uuid); +__attribute__((visibility("hidden"))) +bool lttng_ust_validate_event_name(const struct lttng_ust_event_desc *desc); + +__attribute__((visibility("hidden"))) +void lttng_ust_format_event_name(const struct lttng_ust_event_desc *desc, + char *name); + #endif /* _LTTNG_UST_EVENTS_INTERNAL_H */