projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove event id parameter from event_reserve callback
[lttng-modules.git]
/
src
/
probes
/
lttng-uprobes.c
diff --git
a/src/probes/lttng-uprobes.c
b/src/probes/lttng-uprobes.c
index 2507f43418c1cae6fcd1f75a10b7eb9c0ca84ae5..f679dd764cf73178ffff628b9689519fafaae16d 100644
(file)
--- a/
src/probes/lttng-uprobes.c
+++ b/
src/probes/lttng-uprobes.c
@@
-68,10
+68,10
@@
int lttng_uprobes_event_handler_pre(struct uprobe_consumer *uc, struct pt_regs *
struct lib_ring_buffer_ctx ctx;
int ret;
struct lib_ring_buffer_ctx ctx;
int ret;
- lib_ring_buffer_ctx_init(&ctx,
chan->chan, <tng_probe_ctx
,
- sizeof(payload), lttng_alignof(payload),
-1
);
+ lib_ring_buffer_ctx_init(&ctx,
event_recorder
,
+ sizeof(payload), lttng_alignof(payload),
<tng_probe_ctx
);
- ret = chan->ops->event_reserve(&ctx
, event_recorder->priv->id
);
+ ret = chan->ops->event_reserve(&ctx);
if (ret < 0)
return 0;
if (ret < 0)
return 0;
This page took
0.023551 seconds
and
4
git commands to generate.