#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>
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;