bytecode: rename `lttng_filter_sync_state()` -> `lttng_bytecode_filter_sync_state()`
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 13 May 2020 14:36:00 +0000 (10:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Nov 2020 18:15:07 +0000 (13:15 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I2d63001ed633236a98eba6398ad06fccf83fde2c

include/lttng/events.h
include/lttng/lttng-bytecode.h
src/lttng-bytecode.c
src/lttng-events.c

index 20c08cf8fcaa6696a55ed45fe9fa66b5e67137dc..5393f196f18d63701fa72d46f7443a29d4bf1b88 100644 (file)
@@ -893,7 +893,6 @@ static inline int lttng_syscall_filter_disable_event_notifier(
 
 #endif
 
-void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
 int lttng_event_enabler_attach_filter_bytecode(struct lttng_event_enabler *event_enabler,
                struct lttng_kernel_filter_bytecode __user *bytecode);
 int lttng_event_notifier_enabler_attach_filter_bytecode(
index 3cbb7b10cb995bd2503ed1e169448c9ede4853fb..79a562bfb5c50f57ecff10958f126737e177bb4f 100644 (file)
@@ -281,6 +281,7 @@ struct lttng_interpreter_output {
 
 const char *lttng_bytecode_print_op(enum bytecode_op op);
 
+void lttng_bytecode_filter_sync_state(struct lttng_bytecode_runtime *runtime);
 int lttng_bytecode_validate(struct bytecode_runtime *bytecode);
 int lttng_bytecode_specialize(const struct lttng_event_desc *event_desc,
                struct bytecode_runtime *bytecode);
index 79c581c812c54541d24a38909f4d941e8ba9fa86..664a6aeeb133302ce14864434bbe499ffce41f1f 100644 (file)
@@ -467,7 +467,7 @@ alloc_error:
        return ret;
 }
 
-void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime)
+void lttng_bytecode_filter_sync_state(struct lttng_bytecode_runtime *runtime)
 {
        struct lttng_bytecode_node *bc = runtime->bc;
 
index c8cf7621a95c35eb70bbc9f99f195fa38d7de264..54d7a0d0cd9132c5178fcde503bdbb761712c9ca 100644 (file)
@@ -36,6 +36,7 @@
 #include <wrapper/types.h>
 #include <lttng/kernel-version.h>
 #include <lttng/events.h>
+#include <lttng/lttng-bytecode.h>
 #include <lttng/tracer.h>
 #include <lttng/event-notifier-notification.h>
 #include <lttng/abi-old.h>
@@ -2480,7 +2481,7 @@ void lttng_session_sync_event_enablers(struct lttng_session *session)
                /* Enable filters */
                list_for_each_entry(runtime,
                                &event->filter_bytecode_runtime_head, node)
-                       lttng_filter_sync_state(runtime);
+                       lttng_bytecode_filter_sync_state(runtime);
        }
 }
 
@@ -2563,7 +2564,7 @@ void lttng_event_notifier_group_sync_enablers(struct lttng_event_notifier_group
                /* Enable filters */
                list_for_each_entry(runtime,
                                &event_notifier->filter_bytecode_runtime_head, node)
-                               lttng_filter_sync_state(runtime);
+                       lttng_bytecode_filter_sync_state(runtime);
        }
 }
 
This page took 0.029954 seconds and 4 git commands to generate.