projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: Remove redefinition of CHAR_BIT
[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 5bfcd22e4c8091b2150b07ee63f680a67214860e..c1a630ac7ea263fa5026976130d8e3f1bc3cae01 100644
(file)
--- a/
liblttng-ust/lttng-context-vgid.c
+++ b/
liblttng-ust/lttng-context-vgid.c
@@
-8,13
+8,14
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
+#include <limits.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
#include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-con
fig
.h>
+#include <lttng/ringbuffer-con
text
.h>
#include "context-internal.h"
#include "creds.h"
#include "context-internal.h"
#include "creds.h"
@@
-73,7
+74,7
@@
size_t vgid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
static
void vgid_record(struct lttng_ust_ctx_field *field,
struct lttng_ust_lib_ring_buffer_ctx *ctx,
static
void vgid_record(struct lttng_ust_ctx_field *field,
struct lttng_ust_lib_ring_buffer_ctx *ctx,
- struct lttng_
channel
*chan)
+ struct lttng_
ust_channel_buffer
*chan)
{
gid_t vgid;
{
gid_t vgid;
@@
-97,7
+98,7
@@
int lttng_add_vgid_to_ctx(struct lttng_ust_ctx **ctx)
type = lttng_ust_create_type_integer(sizeof(gid_t) * CHAR_BIT,
lttng_alignof(gid_t) * CHAR_BIT,
type = lttng_ust_create_type_integer(sizeof(gid_t) * CHAR_BIT,
lttng_alignof(gid_t) * CHAR_BIT,
- lttng_is_signed_type(gid_t),
+ lttng_
ust_
is_signed_type(gid_t),
BYTE_ORDER, 10);
if (!type)
return -ENOMEM;
BYTE_ORDER, 10);
if (!type)
return -ENOMEM;
This page took
0.024428 seconds
and
4
git commands to generate.