Refactoring: hide internal fields of ring buffer context
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index 0a5d213ce9e2ed5b481a415692a61a431d730b61..055e4f6eab259b633b615015a449a888f3538d52 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef _LTTNG_UST_EVENTS_INTERNAL_H
 #define _LTTNG_UST_EVENTS_INTERNAL_H
 
+#include <limits.h>
 #include <stdint.h>
 
 #include <urcu/list.h>
@@ -283,6 +284,7 @@ struct lttng_ust_event_recorder_private {
        struct cds_list_head node;              /* Event recorder list */
        struct cds_hlist_node hlist;            /* Hash table of event recorders */
        struct lttng_ust_ctx *ctx;
+       unsigned int id;
 };
 
 struct lttng_ust_event_notifier_private {
@@ -508,7 +510,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 +901,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 */
This page took 0.024287 seconds and 4 git commands to generate.