X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Ffilter-ast.h;h=a42ac164d605d0dfe1cae5f27a6c18ec427153f7;hb=bd845206eabfb048214da2ef76e6c9ecb4b05726;hp=816562e230ce30bdd7ed498da172963b073e9535;hpb=953192ba6eb2118c22bcfcb4bcd813f141b407e7;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/filter-ast.h b/src/lib/lttng-ctl/filter-ast.h index 816562e23..a42ac164d 100644 --- a/src/lib/lttng-ctl/filter-ast.h +++ b/src/lib/lttng-ctl/filter-ast.h @@ -114,6 +114,7 @@ struct filter_node { AST_EXP_UNKNOWN = 0, AST_EXP_STRING, AST_EXP_CONSTANT, + AST_EXP_FLOAT_CONSTANT, AST_EXP_IDENTIFIER, AST_EXP_NESTED, } type; @@ -122,6 +123,7 @@ struct filter_node { union { char *string; uint64_t constant; + double float_constant; char *identifier; /* * child can be nested. @@ -152,15 +154,14 @@ struct filter_ast { const char *node_type(struct filter_node *node); struct ir_op; -struct filter_bytecode; struct filter_parser_ctx { yyscan_t scanner; struct filter_ast *ast; struct cds_list_head allocated_strings; struct ir_op *ir_root; - struct filter_bytecode_alloc *bytecode; - struct filter_bytecode_alloc *bytecode_reloc; + struct lttng_filter_bytecode_alloc *bytecode; + struct lttng_filter_bytecode_alloc *bytecode_reloc; }; struct filter_parser_ctx *filter_parser_ctx_alloc(FILE *input);