X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Fust-events-internal.h;h=536a70d926010446baef6c1a816dbe30e5b2e894;hb=362a65de6aba2cbc27c61c9fc23e755cb617837f;hp=24b56d3b33f3b7c82d21ea43971b00abb32b8267;hpb=bb7ad29d1e8a78e4f0f5f9c7f121fd5545c90acb;p=lttng-ust.git diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index 24b56d3b..536a70d9 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -165,6 +165,31 @@ struct lttng_counter_transport { const struct lib_counter_config *client_config; }; +struct lttng_ust_event_private { + struct lttng_event *pub; /* Public event interface */ + + const struct lttng_event_desc *desc; + enum lttng_ust_instrumentation instrumentation; + struct cds_list_head node; /* Event list in session */ + + /* Backward references: list of lttng_enabler_ref (ref to enablers) */ + struct cds_list_head enablers_ref_head; + struct cds_hlist_node hlist; /* session ht of events */ + int registered; /* has reg'd tracepoint probe */ +}; + +struct lttng_ust_bytecode_runtime_private { + struct bytecode_runtime *pub; /* Public bytecode runtime interface */ + + struct lttng_ust_bytecode_node *bc; + int link_failed; + /* + * Pointer to a URCU-protected pointer owned by an `struct + * lttng_session`or `struct lttng_event_notifier_group`. + */ + struct lttng_ctx **pctx; +}; + static inline struct lttng_enabler *lttng_event_enabler_as_enabler( struct lttng_event_enabler *event_enabler)