X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-events.h;h=0b90b45bee8ba65edf7e5a8af1a5b85f73110de9;hb=9cccf98a6efe4d77d247610fbab29305159a9b46;hp=36b281a72f38f03f14dd20afec587aeb1bfaf251;hpb=720c9a064aba98f4ac65f1081c12f79e87917441;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 36b281a7..0b90b45b 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -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);