- registerHooks(processingData->hookListList, traceSetContext,
- &processEventLTTVStandard, syncState,
+ if (syncState->stats)
+ {
+ processingData->stats= calloc(1, sizeof(ProcessingStatsLTTVStandard));
+ }
+ else
+ {
+ processingData->stats= NULL;
+ }
+
+ if (syncState->graphsStream)
+ {
+ processingData->graphs= malloc(syncState->traceNb *
+ sizeof(ProcessingGraphsLTTVStandard));
+
+ for(i= 0; i < syncState->traceNb; i++)
+ {
+ LttTrace* traceI= processingData->traceSetContext->traces[i]->t;
+
+ processingData->graphs[i].startFreq= traceI->start_freq;
+ processingData->graphs[i].freqScale= traceI->freq_scale;
+ }
+ }
+ else
+ {
+ processingData->graphs= NULL;
+ }
+
+ registerHooks(processingData->hookListList,
+ processingData->traceSetContext, &processEventLTTVStandard, syncState,