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:
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;
}
{
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);
+}