projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
[lttng-modules.git]
/
probes
/
lttng-kprobes.c
diff --git
a/probes/lttng-kprobes.c
b/probes/lttng-kprobes.c
index 131333b03698941bb7f156e7294c1aa16e28d1de..38fb72e89133fa7a4e573736b1a61de126288de8 100644
(file)
--- a/
probes/lttng-kprobes.c
+++ b/
probes/lttng-kprobes.c
@@
-15,6
+15,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)
@@
-30,11
+31,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(!READ_ONCE(chan->session->active)))
+ if (unlikely(!
LTTNG_
READ_ONCE(chan->session->active)))
return 0;
return 0;
- if (unlikely(!READ_ONCE(chan->enabled)))
+ if (unlikely(!
LTTNG_
READ_ONCE(chan->enabled)))
return 0;
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, sizeof(data),
return 0;
lib_ring_buffer_ctx_init(&ctx, chan->chan, <tng_probe_ctx, sizeof(data),
@@
-131,7
+132,7
@@
int lttng_kprobes_register(const char *name,
* Well.. kprobes itself puts the page fault handler on the blacklist,
* but we can never be too careful.
*/
* Well.. kprobes itself puts the page fault handler on the blacklist,
* but we can never be too careful.
*/
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
ret = register_kprobe(&event->u.kprobe.kp);
if (ret)
ret = register_kprobe(&event->u.kprobe.kp);
if (ret)
This page took
0.025641 seconds
and
4
git commands to generate.