X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter.h;h=56d53381768b40b144ee694678e0b11f91a6bab3;hb=38b4e82d9f77265f80ea77f809eb354ff6c0f6e4;hp=fec2db1f6c3b2fad866a536587bed97fd959b0dd;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/lttng-filter.h b/lttng-filter.h index fec2db1f..56d53381 100644 --- a/lttng-filter.h +++ b/lttng-filter.h @@ -91,6 +91,7 @@ struct filter_get_index_data { size_t len; enum object_type type; bool rev_bo; /* reverse byte order */ + bool user; /* from userspace */ } elem; }; @@ -100,6 +101,7 @@ struct vstack_load { enum object_type object_type; const struct lttng_event_field *field; bool rev_bo; /* reverse byte order */ + bool user; /* from userspace */ }; struct vstack_entry { @@ -168,6 +170,7 @@ struct load_ptr { enum object_type object_type; const void *ptr; bool rev_bo; + bool user; /* from userspace */ /* Temporary place-holders for contexts. */ union { int64_t s64; @@ -190,7 +193,7 @@ struct estack_entry { const char __user *user_str; size_t seq_len; enum estack_string_literal_type literal_type; - int user; /* is string from userspace ? */ + bool user; /* is string from userspace ? */ } s; struct load_ptr ptr; } u; @@ -235,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);