X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-filter.h;h=f358fa3cdec72869f67b9282570b5ff7b185c6c3;hb=refs%2Fheads%2Fstable-2.12;hp=e82d883decf0cd1c119e37181b196c678478c768;hpb=c89271d467715e782b76a87c8e26859ec04d9aff;p=lttng-modules.git diff --git a/lttng-filter.h b/lttng-filter.h index e82d883d..f358fa3c 100644 --- a/lttng-filter.h +++ b/lttng-filter.h @@ -42,7 +42,7 @@ struct bytecode_runtime { size_t data_alloc_len; char *data; uint16_t len; - char code[0]; + char code[]; }; enum entry_type { @@ -238,6 +238,7 @@ struct estack { const char *lttng_filter_print_op(enum filter_op op); int lttng_filter_validate_bytecode(struct bytecode_runtime *bytecode); +int lttng_filter_validate_bytecode_load(struct bytecode_runtime *bytecode); int lttng_filter_specialize_bytecode(struct lttng_event *event, struct bytecode_runtime *bytecode);