projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace remaining symbols in lttng/ringbuffer-context.h
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-vgid.c
diff --git
a/liblttng-ust/lttng-context-vgid.c
b/liblttng-ust/lttng-context-vgid.c
index 6e413d93caa320651fc95b971d835ebe1e01db48..cd04e95174a6eb5b89a5905c82a915e119368bb8 100644
(file)
--- a/
liblttng-ust/lttng-context-vgid.c
+++ b/
liblttng-ust/lttng-context-vgid.c
@@
-8,6
+8,7
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
+#include <limits.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
@@
-65,7
+66,7
@@
size_t vgid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
{
size_t size = 0;
{
size_t size = 0;
- size += lib_ring_buffer_align(offset, lttng_alignof(gid_t));
+ size += l
ttng_ust_l
ib_ring_buffer_align(offset, lttng_alignof(gid_t));
size += sizeof(gid_t);
return size;
}
size += sizeof(gid_t);
return size;
}
@@
-78,7
+79,7
@@
void vgid_record(struct lttng_ust_ctx_field *field,
gid_t vgid;
vgid = get_vgid();
gid_t vgid;
vgid = get_vgid();
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(vgid));
+ l
ttng_ust_l
ib_ring_buffer_align_ctx(ctx, lttng_alignof(vgid));
chan->ops->event_write(ctx, &vgid, sizeof(vgid));
}
chan->ops->event_write(ctx, &vgid, sizeof(vgid));
}
This page took
0.022873 seconds
and
4
git commands to generate.