Perform trace factor reduction as a separate step
[lttv.git] / lttv / lttv / sync / event_processing_lttng_null.c
index b9eecbf3c1547a998e3c8542f40412b3d646b5af..5eff4acb17e19c816230e35a80c8ff30c692992a 100644 (file)
@@ -32,7 +32,7 @@
 static void initProcessingLTTVNull(SyncState* const syncState, ...);
 static void destroyProcessingLTTVNull(SyncState* const syncState);
 
-static GArray* finalizeProcessingLTTVNull(SyncState* const syncState);
+static AllFactors* finalizeProcessingLTTVNull(SyncState* const syncState);
 
 // Functions specific to this module
 static gboolean processEventLTTVNull(void* hookData, void* callData);
@@ -96,12 +96,12 @@ static void initProcessingLTTVNull(SyncState* const syncState, ...)
  *   syncState     container for synchronization data.
  *
  * Returns:
- *   Factors[traceNb] synchronization factors for each trace, empty in this
- *   case
+ *   AllFactors    synchronization factors for each trace pair, all of them
+ *                 ABSENT
  */
-static GArray* finalizeProcessingLTTVNull(SyncState* const syncState)
+static AllFactors* finalizeProcessingLTTVNull(SyncState* const syncState)
 {
-       return g_array_new(FALSE, FALSE, sizeof(Factors));
+       return createAllFactors(syncState->traceNb);
 }
 
 
This page took 0.023834 seconds and 4 git commands to generate.