X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng-bytecode.h;h=ac4c738bf12efc4260b15cc11677acffaaeed1c5;hb=6866b1c778967d8fe21fe4545aed1c67d7f4129d;hp=3cbb7b10cb995bd2503ed1e169448c9ede4853fb;hpb=80c2a69a8298768c9010052e6c3668914191b9e7;p=lttng-modules.git diff --git a/include/lttng/lttng-bytecode.h b/include/lttng/lttng-bytecode.h index 3cbb7b10..ac4c738b 100644 --- a/include/lttng/lttng-bytecode.h +++ b/include/lttng/lttng-bytecode.h @@ -71,6 +71,9 @@ enum object_type { OBJECT_TYPE_U32, OBJECT_TYPE_U64, + OBJECT_TYPE_SIGNED_ENUM, + OBJECT_TYPE_UNSIGNED_ENUM, + OBJECT_TYPE_DOUBLE, OBJECT_TYPE_STRING, OBJECT_TYPE_STRING_SEQUENCE, @@ -281,6 +284,8 @@ struct lttng_interpreter_output { const char *lttng_bytecode_print_op(enum bytecode_op op); +void lttng_bytecode_filter_sync_state(struct lttng_bytecode_runtime *runtime); +void lttng_bytecode_capture_sync_state(struct lttng_bytecode_runtime *runtime); int lttng_bytecode_validate(struct bytecode_runtime *bytecode); int lttng_bytecode_specialize(const struct lttng_event_desc *event_desc, struct bytecode_runtime *bytecode); @@ -292,4 +297,13 @@ uint64_t lttng_bytecode_filter_interpret(void *filter_data, struct lttng_probe_ctx *lttng_probe_ctx, const char *filter_stack_data); +uint64_t lttng_bytecode_capture_interpret_false(void *capture_data, + struct lttng_probe_ctx *lttng_probe_ctx, + const char *capture_stack_data, + struct lttng_interpreter_output *output); +uint64_t lttng_bytecode_capture_interpret(void *capture_data, + struct lttng_probe_ctx *lttng_probe_ctx, + const char *capture_stack_data, + struct lttng_interpreter_output *output); + #endif /* _LTTNG_FILTER_H */