#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(
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);
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;
#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>
/* Enable filters */
list_for_each_entry(runtime,
&event->filter_bytecode_runtime_head, node)
- lttng_filter_sync_state(runtime);
+ lttng_bytecode_filter_sync_state(runtime);
}
}
/* 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);
}
}