Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix duplicate PTP messages when tracing/smpi/internals is enabled
authorFernando Mendonca <fernando.machado-mendonca@inria.fr>
Fri, 9 Oct 2015 14:06:14 +0000 (16:06 +0200)
committerFernando Mendonca <fernando.machado-mendonca@inria.fr>
Fri, 9 Oct 2015 14:06:14 +0000 (16:06 +0200)
commitf634d50950677dbd433ed268e2aa900861bec9fc
tree3ded85ab5dbbf89f657ea7dec13498596bf1923e
parent83d7ef266bfb27177a4ad6830abe2e99a3615848
Fix duplicate PTP messages when tracing/smpi/internals is enabled

When the tracing/smpi/internals option is not enabled, some PTP messages
are showed for send and receive operations, both on tracing and
replaying. When the option is enabled, additional messages are
generated, so duplicate messages for send and receive operations are
duplicated.

Initially I thought that the idea was to only show PTP messages when the
tracing/smpi/internals option is enabled. After talking to Arnaud it
seems that is not the case. So I changed the code so both funcionalities
are present: PTP messages for send and receive operations when the
option is disabled and all PTP messages when the option is enabled, as
expected.
src/smpi/smpi_pmpi.c
src/smpi/smpi_replay.c