From: Lucas Schnorr Date: Thu, 15 Sep 2011 15:41:03 +0000 (+0200) Subject: [trace] hosts might have spaces X-Git-Tag: v3_6_2~90 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b9d759439596d06313154b22a58d9dac20bcad13?ds=sidebyside [trace] hosts might have spaces - avoid registering them by using quotation marks --- diff --git a/src/instr/instr_paje_trace.c b/src/instr/instr_paje_trace.c index a8060aa9d1..57c644a267 100644 --- a/src/instr/instr_paje_trace.c +++ b/src/instr/instr_paje_trace.c @@ -422,14 +422,14 @@ static void print_pajeCreateContainer(paje_event_t event) { XBT_DEBUG("%s: event_type=%d, timestamp=%f", __FUNCTION__, event->event_type, event->timestamp); if (event->timestamp == 0){ - fprintf(tracing_file, "%d 0 %s %s %s %s\n", + fprintf(tracing_file, "%d 0 %s %s %s \"%s\"\n", event->event_type, ((createContainer_t)event->data)->container->id, ((createContainer_t)event->data)->container->type->id, ((createContainer_t)event->data)->container->father->id, ((createContainer_t)event->data)->container->name); }else{ - fprintf(tracing_file, "%d %lf %s %s %s %s\n", + fprintf(tracing_file, "%d %lf %s %s %s \"%s\"\n", event->event_type, event->timestamp, ((createContainer_t)event->data)->container->id,