Show the latency histograms by IP address rather than by trace
[lttv.git] / lttv / lttv / sync / event_matching_distributor.c
index 4523ec530ec5e7b00a46200decfd959194643ba0..2735f22f22de9f8fc93937478619def45be0380d 100644 (file)
@@ -356,8 +356,10 @@ void gfGraphFunctionCall(gpointer data, gpointer user_data)
 {
        SyncState* parallelSS= data;
        struct GraphAggregate* aggregate= user_data;
-       void (*graphFunction)(struct _SyncState*, const unsigned int, const
-               unsigned int)= (void*) data + (size_t) aggregate->offset;
+       typedef void (*GraphFunction)(struct _SyncState*, const unsigned int,
+               const unsigned int);
+       GraphFunction graphFunction= *(GraphFunction*)((void*)
+               parallelSS->matchingModule + (size_t) aggregate->offset);
 
        if (graphFunction != NULL)
        {
This page took 0.024662 seconds and 4 git commands to generate.