Refactoring: bytecode interpreter ABI
[lttng-ust.git] / liblttng-ust / lttng-events.c
index 30cc224a2f7c755c3190071711022e08b1b46f6e..9dc69ba9322d836757caa087c6bbfb43f0e33372 100644 (file)
@@ -1321,7 +1321,7 @@ void _lttng_event_destroy(struct lttng_ust_event_common *event)
                /* Remove from event hash table. */
                cds_hlist_del(&event_recorder->priv->hlist);
 
-               lttng_destroy_context(event_recorder->ctx);
+               lttng_destroy_context(event_recorder->priv->ctx);
                free(event_recorder->parent);
                free(event_recorder->priv);
                free(event_recorder);
@@ -1699,7 +1699,7 @@ void lttng_session_sync_event_enablers(struct lttng_ust_session *session)
                /* Enable filters */
                cds_list_for_each_entry(runtime,
                                &event_recorder_priv->pub->parent->filter_bytecode_runtime_head, node) {
-                       lttng_bytecode_filter_sync_state(runtime);
+                       lttng_bytecode_sync_state(runtime);
                }
        }
        lttng_ust_tp_probe_prune_release_queue();
@@ -1911,13 +1911,13 @@ void lttng_event_notifier_group_sync_enablers(struct lttng_event_notifier_group
                /* Enable filters */
                cds_list_for_each_entry(runtime,
                                &event_notifier_priv->pub->parent->filter_bytecode_runtime_head, node) {
-                       lttng_bytecode_filter_sync_state(runtime);
+                       lttng_bytecode_sync_state(runtime);
                }
 
                /* Enable captures. */
                cds_list_for_each_entry(runtime,
                                &event_notifier_priv->pub->capture_bytecode_runtime_head, node) {
-                       lttng_bytecode_capture_sync_state(runtime);
+                       lttng_bytecode_sync_state(runtime);
                }
        }
        lttng_ust_tp_probe_prune_release_queue();
@@ -1971,7 +1971,7 @@ void lttng_ust_context_set_session_provider(const char *name,
                                abort();
                }
                cds_list_for_each_entry(event_recorder_priv, &session_priv->events_head, node) {
-                       ret = lttng_ust_context_set_provider_rcu(&event_recorder_priv->pub->ctx,
+                       ret = lttng_ust_context_set_provider_rcu(&event_recorder_priv->ctx,
                                        name, get_size, record, get_value);
                        if (ret)
                                abort();
This page took 0.024141 seconds and 4 git commands to generate.