Store graph callbacks in a structure
[lttv.git] / lttv / lttv / sync / event_matching_tcp.c
index 9c3e6a9d3606bef458b2782160b8e4fb0ae46546..f769221226b2b1deae8bdeba37a26c74b8bd48b2 100644 (file)
@@ -74,8 +74,9 @@ static MatchingModule matchingModuleTCP = {
        .matchEvent= &matchEventTCP,
        .finalizeMatching= &finalizeMatchingTCP,
        .printMatchingStats= &printMatchingStatsTCP,
-       .writeMatchingGraphsPlots= &writeMatchingGraphsPlotsTCP,
-       .writeMatchingGraphsOptions= NULL,
+       .graphFunctions= {
+               .writeTraceTracePlots= &writeMatchingGraphsPlotsTCP,
+       }
 };
 
 
@@ -634,7 +635,7 @@ static void openGraphDataFiles(SyncState* const syncState)
  */
 static void writeMessagePoint(FILE* stream, const Message* const message)
 {
-       LttCycleCount x, y;
+       uint64_t x, y;
 
        if (message->inE->traceNum < message->outE->traceNum)
        {
This page took 0.022813 seconds and 4 git commands to generate.