Cleanup: Rename filter functions/fields to mention "filter"
[lttng-ust.git] / liblttng-ust / lttng-filter.c
index 70e489fc16841b27d4c7e5fa61dc4d53e61fe2d0..aa258e5c5d76a475999be9d4a96205ae783b5066 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;
 }
@@ -582,7 +582,7 @@ void free_filter_runtime(struct cds_list_head *bytecode_runtime_head)
 
 void lttng_free_event_filter_runtime(struct lttng_event *event)
 {
-       free_filter_runtime(&event->bytecode_runtime_head);
+       free_filter_runtime(&event->filter_bytecode_runtime_head);
 }
 
 void lttng_free_event_notifier_filter_runtime(
This page took 0.024768 seconds and 4 git commands to generate.