Add a broadcast matching module
[lttv.git] / lttv / lttv / sync / sync_chain_lttv.c
index 2003e95fd7ca24d29481a7775dcad2f60901329a..399b79628221c7446cf5f2637e01ccc2b3beff0f 100644 (file)
@@ -233,9 +233,9 @@ void syncTraceset(LttvTracesetContext* const traceSetContext)
        }
 
        // Identify matching and analysis modules
-       g_assert(g_queue_get_length(&matchingModules) == 1);
-       syncState->matchingModule= (MatchingModule*)
-               g_queue_peek_head(&matchingModules);
+       result= g_queue_find_custom(&matchingModules, "TCP", &gcfCompareMatching);
+       g_assert(result != NULL);
+       syncState->matchingModule= (MatchingModule*) result->data;
 
        result= g_queue_find_custom(&analysisModules, optionSyncAnalysis,
                &gcfCompareAnalysis);
This page took 0.022555 seconds and 4 git commands to generate.