X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fbytecode%2Fbytecode.h;h=3a639c939b45fc12b8cddb5babe2f7d8009273e0;hp=ecf54f92e7a707b4a1ffbcfe943f53f25e3a0532;hb=763f0d4cef1438d3f1f5f5c5a232d72628bca550;hpb=0ae3cfc61fedae38ef31fe5a99458c4f2161c3b5 diff --git a/src/common/bytecode/bytecode.h b/src/common/bytecode/bytecode.h index ecf54f92e..3a639c939 100644 --- a/src/common/bytecode/bytecode.h +++ b/src/common/bytecode/bytecode.h @@ -238,6 +238,8 @@ LTTNG_HIDDEN int bytecode_push(struct lttng_filter_bytecode_alloc **fb, LTTNG_HIDDEN int bytecode_push_logical(struct lttng_filter_bytecode_alloc **fb, struct logical_op *data, uint32_t align, uint32_t len, uint16_t *skip_offset); +LTTNG_HIDDEN struct lttng_filter_bytecode *lttng_filter_bytecode_copy( + const struct lttng_filter_bytecode *orig_f); static inline unsigned int bytecode_get_len(struct lttng_filter_bytecode *bytecode)