Tracepoint: add ctf array for network byte order integers
[lttng-ust.git] / include / lttng / ust-events.h
index f3ade45c43558acddedefc5baf33d0a59798bef3..9f6aa06296bb23744e4ec333f7094114d176c17f 100644 (file)
@@ -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];
 };
@@ -629,6 +634,7 @@ int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler,
                struct lttng_ust_excluder_node *excluder);
 
 int lttng_attach_context(struct lttng_ust_context *context_param,
+               union ust_args *uargs,
                struct lttng_ctx **ctx, struct lttng_session *session);
 int lttng_session_context_init(struct lttng_ctx **ctx);
 
@@ -716,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
This page took 0.025314 seconds and 4 git commands to generate.