X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=9f6aa06296bb23744e4ec333f7094114d176c17f;hb=9443a02239f525ddb4d17d91e840e9513e59a3d9;hp=9eed21ef0b2867c40b19e21144641a19aafc73d8;hpb=8e696cfa579df0d75368a36d049e9c99b24e53f4;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 9eed21ef..9f6aa062 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -101,9 +101,14 @@ enum lttng_string_encodings { NR_STRING_ENCODINGS, }; +struct lttng_enum_value { + unsigned long long value; + unsigned int signedness:1; +}; + #define LTTNG_UST_ENUM_ENTRY_PADDING 16 struct lttng_enum_entry { - unsigned long long start, end; /* start and end are inclusive */ + struct lttng_enum_value start, end; /* start and end are inclusive */ const char *string; char padding[LTTNG_UST_ENUM_ENTRY_PADDING]; }; @@ -717,6 +722,11 @@ struct cds_list_head *_lttng_get_sessions(void); struct lttng_enum *lttng_ust_enum_get(struct lttng_session *session, const char *enum_name); +/* For backward compatibility. Leave those exported symbols in place. */ +extern struct lttng_ctx *lttng_static_ctx; +void lttng_context_init(void); +void lttng_context_exit(void); + #ifdef __cplusplus } #endif