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
/
lttng-context-veuid.c
diff --git
a/src/lttng-context-veuid.c
b/src/lttng-context-veuid.c
index 965c3eecb3a4438f19e8a8d2b73a37b1b2f5446b..30ace857ca4424a0e207ead541250a23e5bd230b 100644
(file)
--- a/
src/lttng-context-veuid.c
+++ b/
src/lttng-context-veuid.c
@@
-30,14
+30,13
@@
size_t veuid_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size
static
void veuid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
static
void veuid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
- struct l
ib
_ring_buffer_ctx *ctx,
- struct lttng_
channel
*chan)
+ struct l
ttng_kernel
_ring_buffer_ctx *ctx,
+ struct lttng_
kernel_channel_buffer
*chan)
{
uid_t veuid;
veuid = lttng_current_veuid();
{
uid_t veuid;
veuid = lttng_current_veuid();
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(veuid));
- chan->ops->event_write(ctx, &veuid, sizeof(veuid));
+ chan->ops->event_write(ctx, &veuid, sizeof(veuid), lttng_alignof(veuid));
}
static
}
static
This page took
0.023859 seconds
and
4
git commands to generate.