X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Ftext%2Fsync_chain_batch.c;h=55abb676c946678a29fcd552c6d1a1f5f6fe6f2d;hb=1ed11971aebed2cf6c9b9f212adb36c50487266f;hp=c88b13c5962623fdf3491829d9e1c0bf4f91ae8a;hpb=098570932dc44e0fa54fad0b04c3a775418b1111;p=lttv.git diff --git a/lttv/modules/text/sync_chain_batch.c b/lttv/modules/text/sync_chain_batch.c index c88b13c5..55abb676 100644 --- a/lttv/modules/text/sync_chain_batch.c +++ b/lttv/modules/text/sync_chain_batch.c @@ -291,6 +291,7 @@ void setupSyncChain(LttvTracesetContext* const traceSetContext) tracesetChainState->syncState= syncState; syncState->traceNb= lttv_traceset_number(traceSetContext->ts); + // Statistics are always on with eval syncState->stats= true; if (optionEvalGraphs) @@ -357,18 +358,7 @@ void teardownSyncChain(LttvTracesetContext* const traceSetContext) } } - if (syncState->processingModule->printProcessingStats != NULL) - { - syncState->processingModule->printProcessingStats(syncState); - } - if (syncState->matchingModule->printMatchingStats != NULL) - { - syncState->matchingModule->printMatchingStats(syncState); - } - if (syncState->analysisModule->printAnalysisStats != NULL) - { - syncState->analysisModule->printAnalysisStats(syncState); - } + printStats(syncState); printf("Resulting synchronization factors:\n"); for (i= 0; i < syncState->traceNb; i++)