Implement filter bytecode support in lttng-session, and parse filter string
[lttng-tools.git] / src / bin / lttng-sessiond / lttng-ust-abi.h
index c60535d4178845c53677b2b583a31b19f05c754c..d8b10c257039effd035a9c7edc04fd4fba356d6f 100644 (file)
@@ -168,6 +168,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)
@@ -228,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 {
This page took 0.023658 seconds and 4 git commands to generate.