Hide private lttng_session_active symbol
[lttng-ust.git] / include / lttng / ust-tracepoint-event.h
index e743ffdad43a6982b87a6ca35a69cfb0c436ba52..c4e4f1ed5c655bc49daee568010c957565875cbd 100644 (file)
@@ -824,7 +824,7 @@ void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args))           \
        if (caa_unlikely(!TP_RCU_LINK_TEST()))                                \
                return;                                                       \
        if (caa_unlikely(!cds_list_empty(&__event->filter_bytecode_runtime_head))) { \
-               struct lttng_bytecode_runtime *__filter_bc_runtime;           \
+               struct lttng_ust_bytecode_runtime *__filter_bc_runtime;       \
                int __filter_record = __event->has_enablers_without_bytecode; \
                                                                              \
                __event_prepare_interpreter_stack__##_provider##___##_name(__stackvar.__interpreter_stack_data, \
@@ -846,12 +846,13 @@ void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args))         \
                struct lttng_ust_event_recorder *__event_recorder = (struct lttng_ust_event_recorder *) __event->child; \
                struct lttng_channel *__chan = __event_recorder->chan;        \
                struct lttng_ust_lib_ring_buffer_ctx __ctx;                   \
-               struct lttng_stack_ctx __lttng_ctx;                           \
+               struct lttng_ust_stack_ctx __lttng_ctx;                       \
                                                                              \
                __event_len = __event_get_size__##_provider##___##_name(__stackvar.__dynamic_len, \
                         _TP_ARGS_DATA_VAR(_args));                           \
                __event_align = __event_get_align__##_provider##___##_name(_TP_ARGS_VAR(_args)); \
                memset(&__lttng_ctx, 0, sizeof(__lttng_ctx));                 \
+               __lttng_ctx.struct_size = sizeof(struct lttng_ust_stack_ctx);     \
                __lttng_ctx.event_recorder = __event_recorder;                \
                __lttng_ctx.chan_ctx = tp_rcu_dereference(__chan->ctx);       \
                __lttng_ctx.event_ctx = tp_rcu_dereference(__event_recorder->ctx); \
This page took 0.02387 seconds and 4 git commands to generate.