X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fevent_processing.h;h=34ea8001d4ec798f22b9000257601afc513943ff;hb=2f07659468ff3427bb3923cdc5a7ec61b6e8bbce;hp=18642408233682b7ac30ef861a3e888265b424b4;hpb=8d7d16dd4f5f6ae09f556a9b0b477baaa93d468c;p=lttv.git diff --git a/lttv/lttv/sync/event_processing.h b/lttv/lttv/sync/event_processing.h index 18642408..34ea8001 100644 --- a/lttv/lttv/sync/event_processing.h +++ b/lttv/lttv/sync/event_processing.h @@ -22,9 +22,8 @@ #include #include -#include - #include "data_structures.h" +#include "graph_functions.h" struct _SyncState; @@ -33,22 +32,11 @@ typedef struct { char* name; - void (*initProcessing)(struct _SyncState* const syncStateLttv, - LttvTracesetContext* const traceSetContext); + void (*initProcessing)(struct _SyncState* const syncStateLttv, ...); void (*destroyProcessing)(struct _SyncState* const syncState); - 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