quick fix of errors in filter.c/filter.h
authorsiboud <siboud@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 16 Feb 2005 19:25:17 +0000 (19:25 +0000)
committersiboud <siboud@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 16 Feb 2005 19:25:17 +0000 (19:25 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@874 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/filter.c
ltt/branches/poly/lttv/lttv/filter.h

index aa29b2c5c521b70d77c23752e62908a1994789bd..4ed2eb1b289966432658fba6314a6c00f692b355 100644 (file)
@@ -73,21 +73,21 @@ parse_field_path(GList* fp) {
   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;
@@ -265,7 +265,9 @@ lttv_filter_tracefile(lttv_filter *filter, LttTracefile *tracefile) {
 }
 
 gboolean
-lttv_filter_tracestate(lttv_filter *filter, LttvTraceState *tracestate) {}
+lttv_filter_tracestate(lttv_filter *filter, LttvTraceState *tracestate) {
+
+}
 
 /**
  *     Apply the filter to a specific event
@@ -293,8 +295,9 @@ static void module_destroy()
 }
 
 
-LTTV_MODULE("filter", "Filter state & event", \
-    "Filters the current tracestate and events from user expression", \
+//LTTV_MODULE("filter", \
+    "", \
+    "", \
     module_init, module_destroy)
 
 
index d405a09ade8378f9ae9c8ef22e3b865df9812e3b..ab5b695856b216fc7176e6ad392810ae28b5c865 100644 (file)
@@ -106,15 +106,15 @@ typedef struct _lttv_expression
   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;
This page took 0.025895 seconds and 4 git commands to generate.