X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-abi.h;h=8bcaa380e10c49fbf9a788bf49cc7f7ed9a2c802;hb=2d78951a159c97fd2bfebb84a9b22ef97674d56a;hp=2651fc99747c698da04b79b784fa8c150ca2b7e9;hpb=1ddfd6412d2a160eb5b8e97ebbfd0a9dbc88faa0;p=lttng-ust.git diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 2651fc99..8bcaa380 100644 --- a/include/lttng/ust-abi.h +++ b/include/lttng/ust-abi.h @@ -165,6 +165,13 @@ struct lttng_ust_calibrate { } u; }; +#define FILTER_BYTECODE_MAX_LEN 65536 +struct lttng_ust_filter_bytecode { + uint16_t len; + uint16_t reloc_table_offset; + char data[0]; +}; + #define _UST_CMD(minor) (minor) #define _UST_CMDR(minor, type) (minor) #define _UST_CMDW(minor, type) (minor) @@ -210,6 +217,9 @@ struct lttng_ust_calibrate { #define LTTNG_UST_TRACEPOINT_LIST_GET _UST_CMD(0x90) #define LTTNG_UST_TRACEPOINT_FIELD_LIST_GET _UST_CMD(0x91) +/* Event FD commands */ +#define LTTNG_UST_FILTER _UST_CMD(0xA0) + #define LTTNG_UST_ROOT_HANDLE 0 struct lttng_ust_obj;