projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring: channel enable/disable using common type
[lttng-modules.git]
/
src
/
lttng-context-sgid.c
diff --git
a/src/lttng-context-sgid.c
b/src/lttng-context-sgid.c
index bffe9308226d8453da92b8d21bad91230335d5b2..dde6f71326fb88d18d07c77487000fa11e665365 100644
(file)
--- a/
src/lttng-context-sgid.c
+++ b/
src/lttng-context-sgid.c
@@
-36,8
+36,7
@@
void sgid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
gid_t sgid;
sgid = lttng_current_sgid();
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(sgid));
- chan->ops->event_write(ctx, &sgid, sizeof(sgid));
+ chan->ops->event_write(ctx, &sgid, sizeof(sgid), lttng_alignof(sgid));
}
static
This page took
0.024211 seconds
and
4
git commands to generate.