X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevents.h;h=05e8618438f8e1c9d4c63e562d7c65a626655da0;hb=d96a4a7a78319be3386b57d9068817e9ffac2a24;hp=5e456c52a38e3e3b3886fbfb7dff2b19637362b1;hpb=28cbcb59855c099a89b02054b15b45ee3ad6a52a;p=lttng-modules.git diff --git a/include/lttng/events.h b/include/lttng/events.h index 5e456c52..05e86184 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -58,13 +58,13 @@ enum channel_type { METADATA_CHANNEL, }; -struct lttng_enum_value { +struct lttng_kernel_enum_value { unsigned long long value; unsigned int signedness:1; }; -struct lttng_enum_entry { - struct lttng_enum_value start, end; /* start and end are inclusive */ +struct lttng_kernel_enum_entry { + struct lttng_kernel_enum_value start, end; /* start and end are inclusive */ const char *string; struct { unsigned int is_auto:1; @@ -103,7 +103,7 @@ struct lttng_type { 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 { @@ -130,9 +130,9 @@ struct lttng_type { } u; }; -struct lttng_enum_desc { +struct lttng_kernel_enum_desc { const char *name; - const struct lttng_enum_entry *entries; + const struct lttng_kernel_enum_entry *entries; unsigned int nr_entries; };