},
};
-static const struct lttng_enum_desc proto_transport_header_type = {
+static const struct lttng_kernel_enum_desc proto_transport_header_type = {
.name = "proto_transport_header_type",
.entries = proto_transport_enum_entries,
.nr_entries = ARRAY_SIZE(proto_transport_enum_entries),
},
};
-static const struct lttng_enum_desc transport_header_type = {
+static const struct lttng_kernel_enum_desc transport_header_type = {
.name = "transport_header_type",
.entries = transport_enum_entries,
.nr_entries = ARRAY_SIZE(transport_enum_entries),
enum lttng_kernel_string_encoding encoding;
} string;
struct {
- const struct lttng_enum_desc *desc; /* Enumeration mapping */
+ const struct lttng_kernel_enum_desc *desc; /* Enumeration mapping */
const struct lttng_type *container_type;
} enum_nestable;
struct {
} u;
};
-struct lttng_enum_desc {
+struct lttng_kernel_enum_desc {
const char *name;
const struct lttng_kernel_enum_entry *entries;
unsigned int nr_entries;
#undef LTTNG_TRACEPOINT_ENUM
#define LTTNG_TRACEPOINT_ENUM(_name, _values) \
- static const struct lttng_enum_desc __enum_##_name = { \
+ static const struct lttng_kernel_enum_desc __enum_##_name = { \
.name = #_name, \
.entries = __enum_values__##_name, \
.nr_entries = ARRAY_SIZE(__enum_values__##_name), \
const struct lttng_type *type,
size_t nesting)
{
- const struct lttng_enum_desc *enum_desc;
+ const struct lttng_kernel_enum_desc *enum_desc;
const struct lttng_type *container_type;
int ret;
unsigned int i, nr_entries;