Remove runtime dependency on liburcu shared objects
[lttng-ust.git] / liblttng-ust / lttng-bytecode-interpreter.c
index bba3cac8dcb8991f35238207eb3ba16701eb840e..637fdc1a966ea3b392837fe6b9908e79330cab18 100644 (file)
@@ -27,9 +27,9 @@
 #define _LGPL_SOURCE
 #include <stddef.h>
 #include <stdint.h>
-#include <urcu-pointer.h>
 #include <byteswap.h>
 
+#include <lttng/urcu/pointer.h>
 #include <lttng/ust-endian.h>
 #include <lttng/ust-events.h>
 
@@ -771,7 +771,7 @@ uint64_t bytecode_interpret(void *interpreter_data,
                struct lttng_interpreter_output *output)
 {
        struct bytecode_runtime *bytecode = interpreter_data;
-       struct lttng_ctx *ctx = rcu_dereference(*bytecode->p.pctx);
+       struct lttng_ctx *ctx = lttng_ust_rcu_dereference(*bytecode->p.pctx);
        void *pc, *next_pc, *start_pc;
        int ret = -EINVAL;
        uint64_t retval = 0;
This page took 0.023068 seconds and 4 git commands to generate.