Store graph callbacks in a structure
[lttv.git] / lttv / lttv / sync / event_processing.h
index 18642408233682b7ac30ef861a3e888265b424b4..d1ac7647ecf5b8210c5a87be9fef073bc6d25088 100644 (file)
@@ -25,6 +25,7 @@
 #include <lttv/tracecontext.h>
 
 #include "data_structures.h"
+#include "graph_functions.h"
 
 
 struct _SyncState;
@@ -40,15 +41,7 @@ typedef struct
        void (*finalizeProcessing)(struct _SyncState* const syncState);
 
        void (*printProcessingStats)(struct _SyncState* const syncState);
-
-       /* The processing module must provide the next function if it wishes
-        * graphs to be created at all. If it provides the next function, it must
-        * also provide the second next function.
-        */
-       void (*writeProcessingGraphsPlots)(struct _SyncState* const syncState,
-               const unsigned int i, const unsigned int j);
-       void (*writeProcessingGraphsOptions)(struct _SyncState* const syncState,
-               const unsigned int i, const unsigned int j);
+       GraphFunctions graphFunctions;
 } ProcessingModule;
 
 #endif
This page took 0.02412 seconds and 4 git commands to generate.