X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fevent_matching.h;h=103d813870fee2166a8f2be0bf68fb5f1127b340;hb=8d7d16dd4f5f6ae09f556a9b0b477baaa93d468c;hp=f8b4a1099972d8792263f8bc69fd86a3a891a569;hpb=70407e861d8430dbe06cc52e6fe4ed5c9cd0872a;p=lttv.git diff --git a/lttv/lttv/sync/event_matching.h b/lttv/lttv/sync/event_matching.h index f8b4a109..103d8138 100644 --- a/lttv/lttv/sync/event_matching.h +++ b/lttv/lttv/sync/event_matching.h @@ -21,7 +21,7 @@ #include -#include "data_structures_tcp.h" +#include "data_structures.h" struct _SyncState; @@ -29,14 +29,19 @@ struct _SyncState; typedef struct { char* name; + bool canMatch[TYPE_COUNT]; void (*initMatching)(struct _SyncState* const syncState); void (*destroyMatching)(struct _SyncState* const syncState); - void (*matchEvent)(struct _SyncState* const syncState, NetEvent* const event, - EventType eventType); + void (*matchEvent)(struct _SyncState* const syncState, Event* const + event); GArray* (*finalizeMatching)(struct _SyncState* const syncState); void (*printMatchingStats)(struct _SyncState* const syncState); + void (*writeMatchingGraphsPlots)(struct _SyncState* const syncState, const + unsigned int i, const unsigned int j); + void (*writeMatchingGraphsOptions)(struct _SyncState* const syncState, + const unsigned int i, const unsigned int j); } MatchingModule; #endif