From: schnorr Date: Wed, 22 Aug 2012 21:39:39 +0000 (+0200) Subject: [trace] avoiding key clashes on paje links X-Git-Tag: v3_8~146^2~91 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/146af226580d45710f7f242223ea795570a2a738 [trace] avoiding key clashes on paje links --- diff --git a/src/instr/instr_smpi.c b/src/instr/instr_smpi.c index 691b85735d..b16c5ac0d0 100644 --- a/src/instr/instr_smpi.c +++ b/src/instr/instr_smpi.c @@ -87,7 +87,7 @@ static char *TRACE_smpi_put_key(int src, int dst, char *key, int n) } //generate the key static unsigned long long counter = 0; - snprintf(key, n, "%d%d%llu", src, dst, counter++); + snprintf(key, n, "%d_%d_%llu", src, dst, counter++); //push it char *a = (char*)xbt_strdup(key);