projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Silence gcc fall-through warning
[lttng-modules.git]
/
probes
/
lttng-kprobes.c
diff --git
a/probes/lttng-kprobes.c
b/probes/lttng-kprobes.c
index daf14ceca9d42ac29e85edd279dbbaea59b0763a..6d2038e71d5f3244963b979297f141895605e2cc 100644
(file)
--- a/
probes/lttng-kprobes.c
+++ b/
probes/lttng-kprobes.c
@@
-28,6
+28,7
@@
#include <wrapper/vmalloc.h>
#include <wrapper/irqflags.h>
#include <lttng-tracer.h>
#include <wrapper/vmalloc.h>
#include <wrapper/irqflags.h>
#include <lttng-tracer.h>
+#include <blacklist/kprobes.h>
static
int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs)
static
int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs)
@@
-43,11
+44,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.024514 seconds
and
4
git commands to generate.