X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fbytecode%2Fbytecode.h;h=d7ef4aeddd27b8d581a691a5f842179f2ca16374;hb=ca806b0b247f89c62ac628a7779ae84049a8c2d7;hp=498f7f0001e11fda2bd5c7fc0793b2feee6619ee;hpb=6afbab01c56b1a634c7071e1e885759ac4fd0b7f;p=lttng-tools.git diff --git a/src/common/bytecode/bytecode.h b/src/common/bytecode/bytecode.h index 498f7f000..d7ef4aedd 100644 --- a/src/common/bytecode/bytecode.h +++ b/src/common/bytecode/bytecode.h @@ -234,26 +234,24 @@ struct lttng_bytecode_alloc { struct lttng_bytecode b; }; -LTTNG_HIDDEN int bytecode_init(struct lttng_bytecode_alloc **fb); -LTTNG_HIDDEN int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb, - uint32_t align, uint32_t len); -LTTNG_HIDDEN int bytecode_push(struct lttng_bytecode_alloc **fb, +int bytecode_init(struct lttng_bytecode_alloc **fb); +int bytecode_push(struct lttng_bytecode_alloc **fb, const void *data, uint32_t align, uint32_t len); -LTTNG_HIDDEN int bytecode_push_logical(struct lttng_bytecode_alloc **fb, +int bytecode_push_logical(struct lttng_bytecode_alloc **fb, struct logical_op *data, uint32_t align, uint32_t len, uint16_t *skip_offset); -LTTNG_HIDDEN struct lttng_bytecode *lttng_bytecode_copy( +struct lttng_bytecode *lttng_bytecode_copy( const struct lttng_bytecode *orig_f); -LTTNG_HIDDEN int bytecode_push_get_payload_root( +int bytecode_push_get_payload_root( struct lttng_bytecode_alloc **bytecode); -LTTNG_HIDDEN int bytecode_push_get_context_root( +int bytecode_push_get_context_root( struct lttng_bytecode_alloc **bytecode); -LTTNG_HIDDEN int bytecode_push_get_app_context_root( +int bytecode_push_get_app_context_root( struct lttng_bytecode_alloc **bytecode); -LTTNG_HIDDEN int bytecode_push_get_index_u64( +int bytecode_push_get_index_u64( struct lttng_bytecode_alloc **bytecode, uint64_t index); -LTTNG_HIDDEN int bytecode_push_get_symbol( +int bytecode_push_get_symbol( struct lttng_bytecode_alloc **bytecode, struct lttng_bytecode_alloc **bytecode_reloc, const char *symbol);