X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-uprobes.c;h=bda1d9b46cbce41a5e4a06c2c3b3124e634fbfe3;hb=57ccbfa6a8a79c7b84394c2097efaf7935607aa5;hp=bc1012895f958b48a1542443432ed7162b5bbbc7;hpb=52563d02a9234215b62c5f519aa1b5d8589ccd0a;p=lttng-modules.git diff --git a/probes/lttng-uprobes.c b/probes/lttng-uprobes.c index bc101289..bda1d9b4 100644 --- a/probes/lttng-uprobes.c +++ b/probes/lttng-uprobes.c @@ -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, <tng_probe_ctx,