Browse Source

replay: Don't go further if a perfmodel can't be loaded

Samuel Thibault 7 years ago
parent
commit
e2e3e6b6c1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/starpu_replay.c

+ 2 - 1
tools/starpu_replay.c

@@ -516,7 +516,8 @@ int main(int argc, char **argv)
 
 						if (error)
 						{
-							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol");
+							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol %s\n", model);
+							exit(EXIT_FAILURE);
 						}
 
 					}