From 146af226580d45710f7f242223ea795570a2a738 Mon Sep 17 00:00:00 2001 From: schnorr Date: Wed, 22 Aug 2012 23:39:39 +0200 Subject: [PATCH] [trace] avoiding key clashes on paje links --- src/instr/instr_smpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1