Filter: add floating point support
[lttng-tools.git] / src / lib / lttng-ctl / filter-visitor-xml.c
index 670a7f3200cee9ae15ed7d5d66453010212ded9c..bf52724ef4df253bcdfa715cbd4589b7772b152d 100644 (file)
@@ -66,6 +66,11 @@ int recursive_visit_print_expression(struct filter_node *node,
                fprintf(stream, "<constant value=\"%" PRIu64 "\"/>\n",
                        node->u.expression.u.constant);
                break;
+       case AST_EXP_FLOAT_CONSTANT:
+               print_tabs(stream, indent);
+               fprintf(stream, "<float_constant value=\"%lg\"/>\n",
+                       node->u.expression.u.float_constant);
+               break;
        case AST_EXP_IDENTIFIER:
                print_tabs(stream, indent);
                fprintf(stream, "<identifier value=\"%s\"/>\n",
This page took 0.023142 seconds and 4 git commands to generate.