Refactoring: bytecode interpreter ABI
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index d79278d7ec513958c1032c4db9c1497bb827cd5d..4e73e3e3e783c41222be8bd7d13fde16bebc623e 100644 (file)
@@ -94,13 +94,13 @@ struct lttng_event_notifier_enabler {
        uint64_t num_captures;
 };
 
-enum lttng_ust_bytecode_node_type {
-       LTTNG_UST_BYTECODE_NODE_TYPE_FILTER,
-       LTTNG_UST_BYTECODE_NODE_TYPE_CAPTURE,
+enum lttng_ust_bytecode_type {
+       LTTNG_UST_BYTECODE_TYPE_FILTER,
+       LTTNG_UST_BYTECODE_TYPE_CAPTURE,
 };
 
 struct lttng_ust_bytecode_node {
-       enum lttng_ust_bytecode_node_type type;
+       enum lttng_ust_bytecode_type type;
        struct cds_list_head node;
        struct lttng_enabler *enabler;
        struct  {
@@ -258,6 +258,7 @@ struct lttng_ust_event_recorder_private {
        struct lttng_ust_event_recorder *pub;   /* Public event interface */
        struct cds_list_head node;              /* Event recorder list */
        struct cds_hlist_node hlist;            /* Hash table of event recorders */
+       struct lttng_ust_ctx *ctx;
 };
 
 struct lttng_ust_event_notifier_private {
@@ -274,6 +275,7 @@ struct lttng_ust_event_notifier_private {
 struct lttng_ust_bytecode_runtime_private {
        struct bytecode_runtime *pub;   /* Public bytecode runtime interface */
 
+       enum lttng_ust_bytecode_type type;
        struct lttng_ust_bytecode_node *bc;
        int link_failed;
        /*
@@ -359,6 +361,7 @@ struct lttng_ust_channel_buffer_private {
        int header_type;                /* 0: unset, 1: compact, 2: large */
        unsigned int id;                /* Channel ID */
        enum lttng_ust_abi_chan_type type;
+       struct lttng_ust_ctx *ctx;
        unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */
 };
 
This page took 0.02844 seconds and 4 git commands to generate.