X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=356fa3b045f995e7d7e6eeade11a744b38e05fc5;hb=04aa13f8c2944839f6514e3841b93057b443a783;hp=7fa992efd77d86a93464e73336c596703f773a4f;hpb=a56fd376c76b448c9f639b8ace821471a2fb7b40;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 7fa992ef..356fa3b0 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -426,11 +426,11 @@ struct ust_pending_probe; struct lttng_event; /* - * Filter return value masks. + * Bytecode interpreter return value masks. */ -enum lttng_filter_ret { - LTTNG_FILTER_DISCARD = 0, - LTTNG_FILTER_RECORD_FLAG = (1ULL << 0), +enum lttng_bytecode_interpreter_ret { + LTTNG_INTERPRETER_DISCARD = 0, + LTTNG_INTERPRETER_RECORD_FLAG = (1ULL << 0), /* Other bits are kept for future use. */ }; @@ -442,8 +442,9 @@ enum lttng_filter_ret { */ struct lttng_bytecode_runtime { /* Associated bytecode */ - struct lttng_ust_filter_bytecode_node *bc; - uint64_t (*filter)(void *filter_data, const char *filter_stack_data); + struct lttng_ust_bytecode_node *bc; + uint64_t (*filter)(void *interpreter_data, + const char *interpreter_stack_data); int link_failed; struct cds_list_head node; /* list of bytecode runtime in event */ /*