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-vegid.c
diff --git
a/src/lttng-context-vegid.c
b/src/lttng-context-vegid.c
index 9c0108241192e79cc567756a363ad9acb96e8671..6aee7cbcd00f048b3939111b6453dbd0d7e46024 100644
(file)
--- a/
src/lttng-context-vegid.c
+++ b/
src/lttng-context-vegid.c
@@
-31,13
+31,12
@@
size_t vegid_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size
static
void vegid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
struct lttng_kernel_ring_buffer_ctx *ctx,
static
void vegid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
struct lttng_kernel_ring_buffer_ctx *ctx,
- struct lttng_
channel
*chan)
+ struct lttng_
kernel_channel_buffer
*chan)
{
gid_t vegid;
vegid = lttng_current_vegid();
{
gid_t vegid;
vegid = lttng_current_vegid();
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(vegid));
- chan->ops->event_write(ctx, &vegid, sizeof(vegid));
+ chan->ops->event_write(ctx, &vegid, sizeof(vegid), lttng_alignof(vegid));
}
static
}
static
This page took
0.023869 seconds
and
4
git commands to generate.