common: move copy_filter_bytecode to bytecode.c and rename it
[lttng-tools.git] / src / common / bytecode / bytecode.h
index ecf54f92e7a707b4a1ffbcfe943f53f25e3a0532..3a639c939b45fc12b8cddb5babe2f7d8009273e0 100644 (file)
@@ -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 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)
 
 static inline
 unsigned int bytecode_get_len(struct lttng_filter_bytecode *bytecode)
This page took 0.023274 seconds and 4 git commands to generate.