projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring: combine identical functions into lttng_create_tracepoint_event_if_missing
[lttng-modules.git]
/
src
/
lttng-context-vgid.c
diff --git
a/src/lttng-context-vgid.c
b/src/lttng-context-vgid.c
index 0b7516e233b2a214196442ab56a07940bba41f23..eb05d30a5d9063ef2d3afd3e584cb92d2dd95da7 100644
(file)
--- a/
src/lttng-context-vgid.c
+++ b/
src/lttng-context-vgid.c
@@
-36,8
+36,7
@@
void vgid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
gid_t vgid;
vgid = lttng_current_vgid();
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(vgid));
- chan->ops->event_write(ctx, &vgid, sizeof(vgid));
+ chan->ops->event_write(ctx, &vgid, sizeof(vgid), lttng_alignof(vgid));
}
static
This page took
0.054318 seconds
and
4
git commands to generate.