From 11d68c2c7f004e91fe239ca3ffc5c2a1d879403f Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 15 Dec 2020 14:28:11 -0500 Subject: [PATCH] Hide new 'lttng_bytecode_*' private symbols Change-Id: I467f6e8651e91e537301090f882f39d2eede1b84 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- liblttng-ust/lttng-bytecode.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/liblttng-ust/lttng-bytecode.h b/liblttng-ust/lttng-bytecode.h index 7f3e5ce8..ad3e3d0e 100644 --- a/liblttng-ust/lttng-bytecode.h +++ b/liblttng-ust/lttng-bytecode.h @@ -332,23 +332,32 @@ struct lttng_interpreter_output { } u; }; +/* Should be hidden but would break the ABI */ const char *print_op(enum bytecode_op op); +LTTNG_HIDDEN void lttng_bytecode_filter_sync_state(struct lttng_bytecode_runtime *runtime); +LTTNG_HIDDEN void lttng_bytecode_capture_sync_state(struct lttng_bytecode_runtime *runtime); +LTTNG_HIDDEN int lttng_bytecode_validate(struct bytecode_runtime *bytecode); +LTTNG_HIDDEN int lttng_bytecode_specialize(const struct lttng_event_desc *event_desc, struct bytecode_runtime *bytecode); +LTTNG_HIDDEN uint64_t lttng_bytecode_filter_interpret_false(void *filter_data, const char *filter_stack_data); +LTTNG_HIDDEN uint64_t lttng_bytecode_filter_interpret(void *filter_data, const char *filter_stack_data); +LTTNG_HIDDEN uint64_t lttng_bytecode_capture_interpret_false(void *capture_data, const char *capture_stack_data, struct lttng_interpreter_output *output); +LTTNG_HIDDEN uint64_t lttng_bytecode_capture_interpret(void *capture_data, const char *capture_stack_data, struct lttng_interpreter_output *output); -- 2.34.1