X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-bytecode.h;h=1ffb115e82e21fa7c301b693ff9baae8dda9f19f;hb=218585b9b0ab4586da4b6fc55c85a70b0b201151;hp=6313b2cc179d973092a95ebb31605a06325782ab;hpb=d64ca52172a1d34cab8c2f8fc66e45a275e452ac;p=lttng-modules.git diff --git a/include/lttng/lttng-bytecode.h b/include/lttng/lttng-bytecode.h index 6313b2cc..1ffb115e 100644 --- a/include/lttng/lttng-bytecode.h +++ b/include/lttng/lttng-bytecode.h @@ -34,9 +34,9 @@ do { \ } while (0) #endif -/* Linked bytecode. Child of struct lttng_bytecode_runtime. */ +/* Linked bytecode. Child of struct lttng_kernel_bytecode_runtime. */ struct bytecode_runtime { - struct lttng_bytecode_runtime p; + struct lttng_kernel_bytecode_runtime p; size_t data_len; size_t data_alloc_len; char *data; @@ -284,17 +284,17 @@ struct lttng_interpreter_output { const char *lttng_bytecode_print_op(enum bytecode_op op); -void lttng_bytecode_sync_state(struct lttng_bytecode_runtime *runtime); +void lttng_bytecode_sync_state(struct lttng_kernel_bytecode_runtime *runtime); int lttng_bytecode_validate(struct bytecode_runtime *bytecode); int lttng_bytecode_specialize(const struct lttng_kernel_event_desc *event_desc, struct bytecode_runtime *bytecode); -int lttng_bytecode_interpret_error(struct lttng_bytecode_runtime *bytecode_runtime, +int lttng_bytecode_interpret_error(struct lttng_kernel_bytecode_runtime *bytecode_runtime, const char *stack_data, struct lttng_probe_ctx *probe_ctx, void *ctx); -int lttng_bytecode_interpret(struct lttng_bytecode_runtime *kernel_bytecode, +int lttng_bytecode_interpret(struct lttng_kernel_bytecode_runtime *kernel_bytecode, const char *interpreter_stack_data, struct lttng_probe_ctx *lttng_probe_ctx, void *caller_ctx);