projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sunrpc instrumentation for 4.17
[lttng-modules.git]
/
probes
/
lttng-kprobes.c
diff --git
a/probes/lttng-kprobes.c
b/probes/lttng-kprobes.c
index daf14ceca9d42ac29e85edd279dbbaea59b0763a..b58a09b4ab19fae4597bb3286f6aca0c18a1e70a 100644
(file)
--- a/
probes/lttng-kprobes.c
+++ b/
probes/lttng-kprobes.c
@@
-43,11
+43,11
@@
int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs)
int ret;
unsigned long data = (unsigned long) p->addr;
int ret;
unsigned long data = (unsigned long) p->addr;
- if (unlikely(!
ACCESS
_ONCE(chan->session->active)))
+ if (unlikely(!
READ
_ONCE(chan->session->active)))
return 0;
return 0;
- if (unlikely(!
ACCESS
_ONCE(chan->enabled)))
+ if (unlikely(!
READ
_ONCE(chan->enabled)))
return 0;
return 0;
- if (unlikely(!
ACCESS
_ONCE(event->enabled)))
+ if (unlikely(!
READ
_ONCE(event->enabled)))
return 0;
lib_ring_buffer_ctx_init(&ctx, chan->chan, <tng_probe_ctx, sizeof(data),
return 0;
lib_ring_buffer_ctx_init(&ctx, chan->chan, <tng_probe_ctx, sizeof(data),
This page took
0.023689 seconds
and
4
git commands to generate.