Filter: add floating point support
[lttng-ust.git] / liblttng-ust / filter-bytecode.h
index 938c671873cd9afeb52dc5a0b5e02478ab94f4c6..7bb0123ec52dc526ac47a6e762f22155bfdbea6b 100644 (file)
@@ -39,6 +39,7 @@ enum field_ref_type {
        FIELD_REF_STRING,
        FIELD_REF_SEQUENCE,
        FIELD_REF_S64,
+       FIELD_REF_DOUBLE,
 };
 
 struct field_ref {
@@ -51,6 +52,10 @@ struct literal_numeric {
        int64_t v;
 } __attribute__((packed));
 
+struct literal_double {
+       double v;
+} __attribute__((packed));
+
 struct literal_string {
        char string[0];
 } __attribute__((packed));
@@ -91,6 +96,7 @@ enum filter_op {
        FILTER_OP_LOAD_FIELD_REF,
        FILTER_OP_LOAD_STRING,
        FILTER_OP_LOAD_S64,
+       FILTER_OP_LOAD_DOUBLE,
 
        NR_FILTER_OPS,
 };
This page took 0.022542 seconds and 4 git commands to generate.