Rename lttng_ust_enum_get to lttng_ust_enum_get_from_desc
[lttng-ust.git] / libringbuffer / ring_buffer_frontend.c
index 396b0064b5b13dd59cc4488008c9df9e2f75c9fb..0d0f26865da9fd4da5aa140c5afcb702c4e89f08 100644 (file)
@@ -118,7 +118,7 @@ struct switch_offsets {
                     switch_old_end:1;
 };
 
-DEFINE_URCU_TLS_IE(unsigned int, lib_ring_buffer_nesting);
+DEFINE_URCU_TLS(unsigned int, lib_ring_buffer_nesting);
 
 /*
  * wakeup_fd_mutex protects wakeup fd use by timer from concurrent
@@ -1014,7 +1014,7 @@ struct lttng_ust_shm_handle *channel_create(const struct lttng_ust_lib_ring_buff
 
        /* Allocate normal memory for channel (not shared) */
        shmobj = shm_object_table_alloc(handle->table, shmsize, SHM_OBJECT_MEM,
-                       -1);
+                       -1, -1);
        if (!shmobj)
                goto error_append;
        /* struct channel is at object 0, offset 0 (hardcoded) */
This page took 0.025404 seconds and 4 git commands to generate.