Add `lttng_bytecode_interpret_format_output()` for top of stack extraction
[lttng-ust.git] / liblttng-ust / lttng-filter.c
index 5ee12d26e8fb9fa08c91c437652b7b31d2d46a57..c25df62adad58e3659c31116331023328d620d4a 100644 (file)
@@ -485,7 +485,7 @@ int _lttng_filter_link_bytecode(const struct lttng_event_desc *event_desc,
        return 0;
 
 link_error:
-       runtime->p.filter = lttng_filter_false;
+       runtime->p.filter = lttng_filter_interpret_bytecode_false;
        runtime->p.link_failed = 1;
        cds_list_add_rcu(&runtime->p.node, insert_loc);
 alloc_error:
@@ -498,7 +498,7 @@ void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime)
        struct lttng_ust_filter_bytecode_node *bc = runtime->bc;
 
        if (!bc->enabler->enabled || runtime->link_failed)
-               runtime->filter = lttng_filter_false;
+               runtime->filter = lttng_filter_interpret_bytecode_false;
        else
                runtime->filter = lttng_filter_interpret_bytecode;
 }
@@ -584,3 +584,9 @@ void lttng_free_event_filter_runtime(struct lttng_event *event)
 {
        free_filter_runtime(&event->bytecode_runtime_head);
 }
+
+void lttng_free_event_notifier_filter_runtime(
+               struct lttng_event_notifier *event_notifier)
+{
+       free_filter_runtime(&event_notifier->filter_bytecode_runtime_head);
+}
This page took 0.025338 seconds and 4 git commands to generate.