Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] graph configuration file for triva no longer needs categories to be in p...
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 16:44:32 +0000 (16:44 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 13 Dec 2010 16:44:32 +0000 (16:44 +0000)
details:
- squeezing what the paje file format can give us

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9165 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/instr/instr_config.c

index 6b8eaf6..851ca3d 100644 (file)
@@ -478,7 +478,7 @@ void TRACE_generate_triva_cat_conf (void)
         "      size = power;\n"
         "      values = (");
     xbt_dict_foreach(created_categories,cursor,key,data) {
-      fprintf(file, "p%s, ",key);
+      fprintf(file, "%s, ",key);
     }
     fprintf (file,
         ");\n"
@@ -494,7 +494,7 @@ void TRACE_generate_triva_cat_conf (void)
         "      size = bandwidth;\n"
         "      values = (");
     xbt_dict_foreach(created_categories,cursor,key,data) {
-      fprintf(file, "b%s, ",key);
+      fprintf(file, "%s, ",key);
     }
     fprintf (file,
         ");\n"