Forráskód Böngészése

fix when generating paje trace from multiple MPI fxt files

Luka Stanisic 9 éve
szülő
commit
40b9690f3f
1 módosított fájl, 4 hozzáadás és 3 törlés
  1. 4 3
      src/debug/traces/starpu_fxt.c

+ 4 - 3
src/debug/traces/starpu_fxt.c

@@ -2354,9 +2354,6 @@ void _starpu_fxt_parse_new_file(char *filename_in, struct starpu_fxt_options *op
 	fxt_blockev_t block;
 	block = fxt_blockev_enter(fut);
 
-	_starpu_symbol_name_list_init(&symbol_list);
-	_starpu_communication_list_init(&communication_list);
-
 	char *prefix = options->file_prefix;
 
 	/* TODO starttime ...*/
@@ -3058,6 +3055,10 @@ void _starpu_fxt_paje_file_init(struct starpu_fxt_options *options)
 	{
 		out_paje_file = NULL;
 	}
+
+	/* create lists for symbols (kernel states) and communications */
+	_starpu_symbol_name_list_init(&symbol_list);
+	_starpu_communication_list_init(&communication_list);
 }
 
 static