X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Fust-abi.h;h=46a35d808bed16186056acab404389f93897a740;hb=1879f67f1532fe1644a0657a5d52f063b43c0bf4;hp=898d6cfea790eb814e6353a4fd8c5297cedd336d;hpb=06d4f27ebd73d4335d4365468798fc72904b30c6;p=lttng-ust.git diff --git a/include/lttng/ust-abi.h b/include/lttng/ust-abi.h index 898d6cfe..46a35d80 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 65535 +struct lttng_ust_filter_bytecode { + uint16_t len; + uint16_t reloc_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; @@ -225,6 +235,9 @@ union ust_args { int *wait_fd; uint64_t *memory_map_size; } stream; + struct { + struct lttng_ust_field_iter entry; + } field_list; }; struct lttng_ust_objd_ops {