Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Icefbecc56d6425d2e6a3adebc592babf70ff60f9
NR_LTTNG_UST_STRING_ENCODING,
};
NR_LTTNG_UST_STRING_ENCODING,
};
-struct lttng_enum_value {
+struct lttng_ust_enum_value {
unsigned long long value;
unsigned int signedness:1;
};
unsigned long long value;
unsigned int signedness:1;
};
-enum lttng_enum_entry_options {
- LTTNG_ENUM_ENTRY_OPTION_IS_AUTO = 1U << 0,
+enum lttng_ust_enum_entry_option {
+ LTTNG_UST_ENUM_ENTRY_OPTION_IS_AUTO = 1U << 0,
struct lttng_ust_enum_entry {
uint32_t struct_size;
struct lttng_ust_enum_entry {
uint32_t struct_size;
- struct lttng_enum_value start, end; /* start and end are inclusive */
+ struct lttng_ust_enum_value start, end; /* start and end are inclusive */
const char *string;
unsigned int options;
const char *string;
unsigned int options;
.signedness = 0, \
}, \
.string = (_string), \
.signedness = 0, \
}, \
.string = (_string), \
- .options = LTTNG_ENUM_ENTRY_OPTION_IS_AUTO, \
+ .options = LTTNG_UST_ENUM_ENTRY_OPTION_IS_AUTO, \
}),
#undef TP_ENUM_VALUES
}),
#undef TP_ENUM_VALUES
strncpy(uentry->string, lentry->string, LTTNG_UST_ABI_SYM_NAME_LEN);
uentry->string[LTTNG_UST_ABI_SYM_NAME_LEN - 1] = '\0';
strncpy(uentry->string, lentry->string, LTTNG_UST_ABI_SYM_NAME_LEN);
uentry->string[LTTNG_UST_ABI_SYM_NAME_LEN - 1] = '\0';
- if (lentry->options & LTTNG_ENUM_ENTRY_OPTION_IS_AUTO) {
+ if (lentry->options & LTTNG_UST_ENUM_ENTRY_OPTION_IS_AUTO) {
uentry->u.extra.options |=
USTCTL_UST_ENUM_ENTRY_OPTION_IS_AUTO;
}
uentry->u.extra.options |=
USTCTL_UST_ENUM_ENTRY_OPTION_IS_AUTO;
}