GString* f = g_list_first(fp)->data;
switch(g_quark_try_string(f->str)) {
- case LTTV_FILTER_TRACE:
-
- break;
- case LTTV_FILTER_TRACEFILE:
-
- break;
- case LTTV_FILTER_TRACESET:
-
- break;
- case LTTV_FILTER_STATE:
-
- break;
- case LTTV_FILTER_EVENT:
-
- break;
+// case LTTV_FILTER_TRACE:
+//
+// break;
+// case LTTV_FILTER_TRACEFILE:
+//
+// break;
+// case LTTV_FILTER_TRACESET:
+//
+// break;
+// case LTTV_FILTER_STATE:
+//
+// break;
+// case LTTV_FILTER_EVENT:
+//
+// break;
default: /* Quark value unrecognized or equal to 0 */
g_warning("Unrecognized field in filter string");
return FALSE;
}
gboolean
-lttv_filter_tracestate(lttv_filter *filter, LttvTraceState *tracestate) {}
+lttv_filter_tracestate(lttv_filter *filter, LttvTraceState *tracestate) {
+
+}
/**
* Apply the filter to a specific event
}
-LTTV_MODULE("filter", "Filter state & event", \
- "Filters the current tracestate and events from user expression", \
+//LTTV_MODULE("filter", \
+ "", \
+ "", \
module_init, module_destroy)
lttv_expression_type type;
union {
struct lttv_expression *e;
- lttv_field_relation *se; /* --> simple expression */
+ // lttv_field_relation *se; /* --> simple expression */
} e;
} lttv_expression;
-typedef union _lttv_expression {
- lttv_simple_expression se;
-
-} lttv_expression;
+//typedef union _lttv_expression {
+// lttv_simple_expression se;
+//
+//} lttv_expression;
typedef struct _lttv_filter_tree {
lttv_expression* node;