projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Filter: add floating point support
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
filter-bytecode.h
diff --git
a/src/lib/lttng-ctl/filter-bytecode.h
b/src/lib/lttng-ctl/filter-bytecode.h
index af0733076a473201edd6ca94d032342ffe71b9ad..07cf99b2dcd46f8f06423046857dcd193812c117 100644
(file)
--- a/
src/lib/lttng-ctl/filter-bytecode.h
+++ b/
src/lib/lttng-ctl/filter-bytecode.h
@@
-40,6
+40,7
@@
enum field_ref_type {
FIELD_REF_STRING,
FIELD_REF_SEQUENCE,
FIELD_REF_S64,
FIELD_REF_STRING,
FIELD_REF_SEQUENCE,
FIELD_REF_S64,
+ FIELD_REF_DOUBLE,
};
struct field_ref {
};
struct field_ref {
@@
-52,6
+53,10
@@
struct literal_numeric {
int64_t v;
} __attribute__((packed));
int64_t v;
} __attribute__((packed));
+struct literal_double {
+ double v;
+} __attribute__((packed));
+
struct literal_string {
char string[0];
} __attribute__((packed));
struct literal_string {
char string[0];
} __attribute__((packed));
@@
-92,6
+97,7
@@
enum filter_op {
FILTER_OP_LOAD_FIELD_REF,
FILTER_OP_LOAD_STRING,
FILTER_OP_LOAD_S64,
FILTER_OP_LOAD_FIELD_REF,
FILTER_OP_LOAD_STRING,
FILTER_OP_LOAD_S64,
+ FILTER_OP_LOAD_DOUBLE,
NR_FILTER_OPS,
};
NR_FILTER_OPS,
};
This page took
0.026263 seconds
and
4
git commands to generate.