X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-bytecode.h;h=16e79eb30fc65f35db94d54f2976f165f02a0442;hb=7d54bba42d167e5d74dfdff858153742b199b4f6;hp=a72369e12f9ef3ac757c98941aa43466323ce985;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-bytecode.h b/src/lib/lttng-ust/lttng-bytecode.h index a72369e1..16e79eb3 100644 --- a/src/lib/lttng-ust/lttng-bytecode.h +++ b/src/lib/lttng-ust/lttng-bytecode.h @@ -23,7 +23,7 @@ #include #include "common/logging.h" #include "bytecode.h" -#include "ust-events-internal.h" +#include "lib/lttng-ust/events.h" /* Interpreter stack length, in number of entries */ #define INTERPRETER_STACK_LEN 10 /* includes 2 dummy */ @@ -58,7 +58,7 @@ do { \ } while (0) #endif -/* Linked bytecode. Child of struct lttng_bytecode_runtime. */ +/* Linked bytecode. Child of struct lttng_ust_bytecode_runtime. */ struct bytecode_runtime { struct lttng_ust_bytecode_runtime p; size_t data_len; @@ -324,17 +324,22 @@ void lttng_bytecode_sync_state(struct lttng_ust_bytecode_runtime *runtime) int lttng_bytecode_validate(struct bytecode_runtime *bytecode) __attribute__((visibility("hidden"))); +int lttng_bytecode_validate_load(struct bytecode_runtime *bytecode) + __attribute__((visibility("hidden"))); + int lttng_bytecode_specialize(const struct lttng_ust_event_desc *event_desc, struct bytecode_runtime *bytecode) __attribute__((visibility("hidden"))); int lttng_bytecode_interpret_error(struct lttng_ust_bytecode_runtime *bytecode_runtime, const char *stack_data, + struct lttng_ust_probe_ctx *probe_ctx, void *ctx) __attribute__((visibility("hidden"))); int lttng_bytecode_interpret(struct lttng_ust_bytecode_runtime *bytecode_runtime, const char *stack_data, + struct lttng_ust_probe_ctx *probe_ctx, void *ctx) __attribute__((visibility("hidden")));