fix: removal of [smp_]read_barrier_depends (v5.9)
[lttng-modules.git] / src / probes / lttng-uprobes.c
index be6a50fc0125d5ef51613f0a7c647d72d6932c71..435ff5aca0f125bec9846b67c0b211a3b8431ab5 100644 (file)
@@ -40,11 +40,11 @@ int lttng_uprobes_handler_pre(struct uprobe_consumer *uc, struct pt_regs *regs)
                unsigned long ip;
        } payload;
 
-       if (unlikely(!READ_ONCE(chan->session->active)))
+       if (unlikely(!LTTNG_READ_ONCE(chan->session->active)))
                return 0;
-       if (unlikely(!READ_ONCE(chan->enabled)))
+       if (unlikely(!LTTNG_READ_ONCE(chan->enabled)))
                return 0;
-       if (unlikely(!READ_ONCE(event->enabled)))
+       if (unlikely(!LTTNG_READ_ONCE(event->enabled)))
                return 0;
 
        lib_ring_buffer_ctx_init(&ctx, chan->chan, &lttng_probe_ctx,
This page took 0.023256 seconds and 4 git commands to generate.