projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ust-ctl: use fixed-size integer rather than enum
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
lttng-ust-ctl.h
diff --git
a/src/bin/lttng-sessiond/lttng-ust-ctl.h
b/src/bin/lttng-sessiond/lttng-ust-ctl.h
index c0723d095ab7002c821901ac9c1cae124a8f2b62..8ee80bac4ec8d50b845182da4848db3ab12f9242 100644
(file)
--- a/
src/bin/lttng-sessiond/lttng-ust-ctl.h
+++ b/
src/bin/lttng-sessiond/lttng-ust-ctl.h
@@
-272,7
+272,7
@@
struct ustctl_integer_type {
uint32_t signedness;
uint32_t reverse_byte_order;
uint32_t base; /* 2, 8, 10, 16, for pretty print */
uint32_t signedness;
uint32_t reverse_byte_order;
uint32_t base; /* 2, 8, 10, 16, for pretty print */
-
enum ustctl_string_encodings
encoding;
+
int32_t
encoding;
uint16_t alignment; /* in bits */
char padding[USTCTL_UST_INTEGER_TYPE_PADDING];
} LTTNG_PACKED;
uint16_t alignment; /* in bits */
char padding[USTCTL_UST_INTEGER_TYPE_PADDING];
} LTTNG_PACKED;
@@
-309,7
+309,7
@@
struct ustctl_enum_entry {
union _ustctl_basic_type {
struct ustctl_integer_type integer;
struct {
union _ustctl_basic_type {
struct ustctl_integer_type integer;
struct {
-
enum ustctl_string_encodings
encoding;
+
int32_t
encoding;
} string;
struct ustctl_float_type _float;
struct {
} string;
struct ustctl_float_type _float;
struct {
This page took
0.025044 seconds
and
5
git commands to generate.