Refactoring: bytecode interpreter ABI
[lttng-ust.git] / liblttng-ust / lttng-bytecode.h
index 04dd2520205e47c8e570b3c8b08e55bd286b9d72..220e8d03a48ef1cef9fa2a103bdb6dfe0cb99647 100644 (file)
@@ -318,10 +318,7 @@ __attribute__((visibility("hidden")))
 const char *lttng_bytecode_print_op(enum bytecode_op op);
 
 __attribute__((visibility("hidden")))
-void lttng_bytecode_filter_sync_state(struct lttng_ust_bytecode_runtime *runtime);
-
-__attribute__((visibility("hidden")))
-void lttng_bytecode_capture_sync_state(struct lttng_ust_bytecode_runtime *runtime);
+void lttng_bytecode_sync_state(struct lttng_ust_bytecode_runtime *runtime);
 
 __attribute__((visibility("hidden")))
 int lttng_bytecode_validate(struct bytecode_runtime *bytecode);
@@ -331,21 +328,13 @@ int lttng_bytecode_specialize(struct lttng_ust_event_desc *event_desc,
                struct bytecode_runtime *bytecode);
 
 __attribute__((visibility("hidden")))
-uint64_t lttng_bytecode_filter_interpret_false(void *filter_data,
-               const char *filter_stack_data);
-
-__attribute__((visibility("hidden")))
-uint64_t lttng_bytecode_filter_interpret(void *filter_data,
-               const char *filter_stack_data);
-
-__attribute__((visibility("hidden")))
-uint64_t lttng_bytecode_capture_interpret_false(void *capture_data,
-               const char *capture_stack_data,
-               struct lttng_interpreter_output *output);
+int lttng_bytecode_interpret_error(struct lttng_ust_bytecode_runtime *bytecode_runtime,
+               const char *stack_data,
+               void *ctx);
 
 __attribute__((visibility("hidden")))
-uint64_t lttng_bytecode_capture_interpret(void *capture_data,
-               const char *capture_stack_data,
-               struct lttng_interpreter_output *output);
+int lttng_bytecode_interpret(struct lttng_ust_bytecode_runtime *bytecode_runtime,
+               const char *stack_data,
+               void *ctx);
 
 #endif /* _LTTNG_BYTECODE_H */
This page took 0.023635 seconds and 4 git commands to generate.