lttng: cleanup one-bit signed bitfields
[lttng-modules.git] / ltt-events.h
index 36b281a72f38f03f14dd20afec587aeb1bfaf251..0b90b45bee8ba65edf7e5a8af1a5b85f73110de9 100644 (file)
@@ -67,8 +67,8 @@ struct lttng_enum_entry {
 struct lttng_integer_type {
        unsigned int size;              /* in bits */
        unsigned short alignment;       /* in bits */
-       unsigned int signedness:1;
-       unsigned int reverse_byte_order:1;
+       unsigned int signedness:1,
+               reverse_byte_order:1;
        unsigned int base;              /* 2, 8, 10, 16, for pretty print */
        enum lttng_string_encodings encoding;
 };
@@ -191,7 +191,7 @@ struct ltt_event {
                } ftrace;
        } u;
        struct list_head list;          /* Event list */
-       int metadata_dumped:1;
+       unsigned int metadata_dumped:1;
 };
 
 struct ltt_channel_ops {
@@ -251,7 +251,7 @@ struct ltt_channel {
        struct ltt_event *sc_compat_unknown;
        struct ltt_event *sc_exit;      /* for syscall exit */
        int header_type;                /* 0: unset, 1: compact, 2: large */
-       int metadata_dumped:1;
+       unsigned int metadata_dumped:1;
 };
 
 struct ltt_session {
@@ -264,7 +264,7 @@ struct ltt_session {
        struct list_head list;          /* Session list */
        unsigned int free_chan_id;      /* Next chan ID to allocate */
        uuid_le uuid;                   /* Trace session unique ID */
-       int metadata_dumped:1;
+       unsigned int metadata_dumped:1;
 };
 
 struct ltt_session *ltt_session_create(void);
This page took 0.023209 seconds and 4 git commands to generate.