bytecode: handle all integer types of dynamic contexts
[deliverable/lttng-ust.git] / include / lttng / ust-events.h
index 356fa3b045f995e7d7e6eeade11a744b38e05fc5..5bd158386cdfeba881597d5b1bc3c0b17076ee94 100644 (file)
@@ -315,6 +315,7 @@ struct lttng_ctx_value {
        enum lttng_ust_dynamic_type sel;
        union {
                int64_t s64;
+               uint64_t u64;
                const char *str;
                double d;
        } u;
@@ -443,8 +444,10 @@ enum lttng_bytecode_interpreter_ret {
 struct lttng_bytecode_runtime {
        /* Associated bytecode */
        struct lttng_ust_bytecode_node *bc;
-       uint64_t (*filter)(void *interpreter_data,
-                       const char *interpreter_stack_data);
+       union {
+               uint64_t (*filter)(void *interpreter_data,
+                               const char *interpreter_stack_data);
+       } interpreter_funcs;
        int link_failed;
        struct cds_list_head node;      /* list of bytecode runtime in event */
        /*
@@ -710,8 +713,6 @@ int lttng_channel_disable(struct lttng_channel *channel);
 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);
-
 void lttng_transport_register(struct lttng_transport *transport);
 void lttng_transport_unregister(struct lttng_transport *transport);
 
@@ -812,7 +813,6 @@ struct lttng_ust_field_iter *
        lttng_ust_field_list_get_iter_next(struct lttng_ust_field_list *list);
 
 void lttng_free_event_filter_runtime(struct lttng_event *event);
-void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
 
 struct cds_list_head *lttng_get_probe_list_head(void);
 int lttng_session_active(void);
@@ -848,6 +848,9 @@ int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler,
                struct lttng_ust_excluder_node *excluder);
 void lttng_enabler_event_link_bytecode(struct lttng_event *event,
                struct lttng_enabler *enabler);
+void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
+int lttng_session_context_init(struct lttng_ctx **ctx);
+
 
 #ifdef __cplusplus
 }
This page took 0.029313 seconds and 5 git commands to generate.