X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fbytecode%2Fbytecode.h;h=498f7f0001e11fda2bd5c7fc0793b2feee6619ee;hp=151ca8a0fb00d0d0273d5304b415984b9f84759f;hb=6afbab01c56b1a634c7071e1e885759ac4fd0b7f;hpb=2b00d46244cab86f1186a7b00cdc660f24a26f72 diff --git a/src/common/bytecode/bytecode.h b/src/common/bytecode/bytecode.h index 151ca8a0f..498f7f000 100644 --- a/src/common/bytecode/bytecode.h +++ b/src/common/bytecode/bytecode.h @@ -245,6 +245,19 @@ LTTNG_HIDDEN int bytecode_push_logical(struct lttng_bytecode_alloc **fb, LTTNG_HIDDEN struct lttng_bytecode *lttng_bytecode_copy( const struct lttng_bytecode *orig_f); +LTTNG_HIDDEN int bytecode_push_get_payload_root( + struct lttng_bytecode_alloc **bytecode); +LTTNG_HIDDEN int bytecode_push_get_context_root( + struct lttng_bytecode_alloc **bytecode); +LTTNG_HIDDEN int bytecode_push_get_app_context_root( + struct lttng_bytecode_alloc **bytecode); +LTTNG_HIDDEN int bytecode_push_get_index_u64( + struct lttng_bytecode_alloc **bytecode, uint64_t index); +LTTNG_HIDDEN int bytecode_push_get_symbol( + struct lttng_bytecode_alloc **bytecode, + struct lttng_bytecode_alloc **bytecode_reloc, + const char *symbol); + static inline unsigned int bytecode_get_len(struct lttng_bytecode *bytecode) {