X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=4e3163c4328faf625bb098df56e291411926d3d0;hb=51f804ec315888553a0104fe691af89216c127e8;hp=ae5ce5f636b9a5f91e56069e5166ce80bc029b35;hpb=4d451c15c1e519f108b1b6d01fbda2c6975a2a3b;p=deliverable%2Flttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index ae5ce5f6..4e3163c4 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -443,8 +443,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 +712,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); @@ -848,6 +848,8 @@ int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler, 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 }