projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move alignment into event write callback
[lttng-modules.git]
/
src
/
probes
/
lttng-uprobes.c
diff --git
a/src/probes/lttng-uprobes.c
b/src/probes/lttng-uprobes.c
index efb879be7c56e42e8eaa37ad486af5907d608ad3..fed3a1d5a2b4c9beefe4f787370398a38d44474f 100644
(file)
--- a/
src/probes/lttng-uprobes.c
+++ b/
src/probes/lttng-uprobes.c
@@
-78,8
+78,7
@@
int lttng_uprobes_event_handler_pre(struct uprobe_consumer *uc, struct pt_regs *
/* Event payload. */
payload.ip = (unsigned long)instruction_pointer(regs);
/* Event payload. */
payload.ip = (unsigned long)instruction_pointer(regs);
- lib_ring_buffer_align_ctx(&ctx, lttng_alignof(payload));
- chan->ops->event_write(&ctx, &payload, sizeof(payload));
+ chan->ops->event_write(&ctx, &payload, sizeof(payload), lttng_alignof(payload));
chan->ops->event_commit(&ctx);
break;
}
chan->ops->event_commit(&ctx);
break;
}
This page took
0.042947 seconds
and
4
git commands to generate.