Fix: tls-compat with hidden ring buffer context
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index 1ce6b4b511bc0c434a69a927be74f9fc28e8ac8a..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_ust_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;
This page took 0.023252 seconds and 4 git commands to generate.