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 register_event common code
[lttng-modules.git]
/
src
/
lttng-context-vsgid.c
diff --git
a/src/lttng-context-vsgid.c
b/src/lttng-context-vsgid.c
index f47f0d142216c59c77cd824f0d6c03d2b34b26d6..08ee829bc1b5e16e60f41fd75420c79eca18cdff 100644
(file)
--- a/
src/lttng-context-vsgid.c
+++ b/
src/lttng-context-vsgid.c
@@
-30,14
+30,13
@@
size_t vsgid_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size
static
void vsgid_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
static
void vsgid_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)
{
gid_t vsgid;
vsgid = lttng_current_vsgid();
{
gid_t vsgid;
vsgid = lttng_current_vsgid();
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(vsgid));
- chan->ops->event_write(ctx, &vsgid, sizeof(vsgid));
+ chan->ops->event_write(ctx, &vsgid, sizeof(vsgid), lttng_alignof(vsgid));
}
static
}
static
This page took
0.024195 seconds
and
4
git commands to generate.