X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Flttng-kernel.h;h=f1144de7f53750499baec8ba3eddd64b0933550c;hp=8336248427e66b28c84000d6dbe853f868941065;hb=00a620843422e5c972aee0ada2181b811fc81b92;hpb=fac26884aa477a653fb72cc009fb14f970833baf diff --git a/src/common/lttng-kernel.h b/src/common/lttng-kernel.h index 833624842..f1144de7f 100644 --- a/src/common/lttng-kernel.h +++ b/src/common/lttng-kernel.h @@ -152,4 +152,12 @@ struct lttng_kernel_channel { char padding[LTTNG_KERNEL_CHANNEL_PADDING1]; } LTTNG_PACKED; +#define KERNEL_FILTER_BYTECODE_MAX_LEN 65536 +struct lttng_kernel_filter_bytecode { + uint32_t len; + uint32_t reloc_offset; + uint64_t seqnum; + char data[0]; +} LTTNG_PACKED; + #endif /* _LTTNG_KERNEL_H */