projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: strncpy equals destination size warning
[lttng-modules.git]
/
probes
/
lttng-uprobes.c
diff --git
a/probes/lttng-uprobes.c
b/probes/lttng-uprobes.c
index 64d8237ca6eac2cbbc1c07df5f976dc7dd45367c..bda1d9b46cbce41a5e4a06c2c3b3124e634fbfe3 100644
(file)
--- 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;
unsigned long ip;
} payload;
- 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,
return 0;
lib_ring_buffer_ctx_init(&ctx, chan->chan, <tng_probe_ctx,
@@
-161,7
+161,7
@@
int lttng_uprobes_add_callsite(struct lttng_event *event,
}
/* Ensure the memory we just allocated don't trigger page faults. */
}
/* Ensure the memory we just allocated don't trigger page faults. */
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
uprobe_handler->event = event;
uprobe_handler->up_consumer.handler = lttng_uprobes_handler_pre;
uprobe_handler->event = event;
uprobe_handler->up_consumer.handler = lttng_uprobes_handler_pre;
This page took
0.024727 seconds
and
4
git commands to generate.