X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Ffilter-bytecode.h;h=07cf99b2dcd46f8f06423046857dcd193812c117;hp=af0733076a473201edd6ca94d032342ffe71b9ad;hb=e90d856165cc1110ac0d4c657a001c47236d6de8;hpb=53a80697a772bc2e260e3dff006f910be6709f04 diff --git a/src/lib/lttng-ctl/filter-bytecode.h b/src/lib/lttng-ctl/filter-bytecode.h index af0733076..07cf99b2d 100644 --- 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_DOUBLE, }; struct field_ref { @@ -52,6 +53,10 @@ struct literal_numeric { int64_t v; } __attribute__((packed)); +struct literal_double { + double v; +} __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_DOUBLE, NR_FILTER_OPS, };