size_t data_alloc_len;
char *data;
uint16_t len;
- char code[0];
+ char code[];
};
enum entry_type {
size_t len;
enum object_type type;
bool rev_bo; /* reverse byte order */
+ bool user; /* from userspace */
} elem;
};
enum object_type object_type;
const struct lttng_event_field *field;
bool rev_bo; /* reverse byte order */
+ bool user; /* from userspace */
};
struct vstack_entry {
enum object_type object_type;
const void *ptr;
bool rev_bo;
+ bool user; /* from userspace */
/* Temporary place-holders for contexts. */
union {
int64_t s64;
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;
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);