Filtering: add support for star-only globbing patterns
[lttng-ust.git] / liblttng-ust / lttng-filter.h
index 10832ceab0301f5bb4c3e4dda100129600faed96..d7105aff3008fca75f1d9ac645457f7bda644867 100644 (file)
@@ -83,6 +83,7 @@ enum entry_type {
        REG_S64,
        REG_DOUBLE,
        REG_STRING,
+       REG_STAR_GLOB_STRING,
        REG_UNKNOWN,
 };
 
@@ -141,6 +142,12 @@ int vstack_pop(struct vstack *stack)
 }
 
 /* Execution stack */
+enum estack_string_literal_type {
+       ESTACK_STRING_LITERAL_TYPE_NONE,
+       ESTACK_STRING_LITERAL_TYPE_PLAIN,
+       ESTACK_STRING_LITERAL_TYPE_STAR_GLOB,
+};
+
 struct estack_entry {
        enum entry_type type;   /* For dynamic typing. */
        union {
@@ -150,7 +157,7 @@ struct estack_entry {
                struct {
                        const char *str;
                        size_t seq_len;
-                       int literal;            /* is string literal ? */
+                       enum estack_string_literal_type literal_type;
                } s;
        } u;
 };
This page took 0.023138 seconds and 4 git commands to generate.