X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fsync_chain.h;h=e479f1e743601c0c6ea30809e00f05f5f13c581d;hb=1111bb0f69e3c01c9264b19cbc7d2a8a02eeb569;hp=076d1960ed8767d77b3711c621992ffa04f61e6b;hpb=277e5b535febfb81a5e9485b0d008e148b6979ac;p=lttv.git diff --git a/lttv/lttv/sync/sync_chain.h b/lttv/lttv/sync/sync_chain.h index 076d1960..e479f1e7 100644 --- a/lttv/lttv/sync/sync_chain.h +++ b/lttv/lttv/sync/sync_chain.h @@ -24,6 +24,7 @@ #include "event_processing.h" #include "event_matching.h" #include "event_analysis.h" +#include "factor_reduction.h" typedef struct _SyncState { @@ -38,6 +39,8 @@ typedef struct _SyncState void* matchingData; const AnalysisModule* analysisModule; void* analysisData; + const ReductionModule* reductionModule; + void* reductionData; } SyncState; typedef struct @@ -62,6 +65,8 @@ typedef struct extern GQueue processingModules; extern GQueue matchingModules; extern GQueue analysisModules; +extern GQueue reductionModules; + extern GQueue moduleOptions; void printStats(SyncState* const syncState); @@ -71,6 +76,8 @@ void timeDiff(struct timeval* const end, const struct timeval* const start); gint gcfCompareProcessing(gconstpointer a, gconstpointer b); gint gcfCompareMatching(gconstpointer a, gconstpointer b); gint gcfCompareAnalysis(gconstpointer a, gconstpointer b); +gint gcfCompareReduction(gconstpointer a, gconstpointer b); void gfAppendAnalysisName(gpointer data, gpointer user_data); +void gfAppendReductionName(gpointer data, gpointer user_data); #endif