projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set hidden visibility for calls used in lttng-ctl
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
filter-ast.h
diff --git
a/src/lib/lttng-ctl/filter-ast.h
b/src/lib/lttng-ctl/filter-ast.h
index 816562e230ce30bdd7ed498da172963b073e9535..176716474c850b297a6858d31aded176422f8e55 100644
(file)
--- a/
src/lib/lttng-ctl/filter-ast.h
+++ b/
src/lib/lttng-ctl/filter-ast.h
@@
-22,6
+22,10
@@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/*
+ * Note: filter-ast.h should be included before filter-parser.h.
+ */
+
#include <urcu/list.h>
#include <stdint.h>
#include <urcu/list.h>
#include <stdint.h>
@@
-87,6
+91,7
@@
enum unary_op_type {
AST_UNARY_PLUS,
AST_UNARY_MINUS,
AST_UNARY_NOT,
AST_UNARY_PLUS,
AST_UNARY_MINUS,
AST_UNARY_NOT,
+ AST_UNARY_BIN_NOT,
};
enum ast_link_type {
};
enum ast_link_type {
@@
-114,6
+119,7
@@
struct filter_node {
AST_EXP_UNKNOWN = 0,
AST_EXP_STRING,
AST_EXP_CONSTANT,
AST_EXP_UNKNOWN = 0,
AST_EXP_STRING,
AST_EXP_CONSTANT,
+ AST_EXP_FLOAT_CONSTANT,
AST_EXP_IDENTIFIER,
AST_EXP_NESTED,
} type;
AST_EXP_IDENTIFIER,
AST_EXP_NESTED,
} type;
@@
-122,6
+128,7
@@
struct filter_node {
union {
char *string;
uint64_t constant;
union {
char *string;
uint64_t constant;
+ double float_constant;
char *identifier;
/*
* child can be nested.
char *identifier;
/*
* child can be nested.
@@
-152,15
+159,14
@@
struct filter_ast {
const char *node_type(struct filter_node *node);
struct ir_op;
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_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);
};
struct filter_parser_ctx *filter_parser_ctx_alloc(FILE *input);
This page took
0.024303 seconds
and
5
git commands to generate.