瀏覽代碼

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

Samuel Thibault 7 年之前
父節點
當前提交
e2e3e6b6c1
共有 1 個文件被更改,包括 2 次插入1 次删除
  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)
 						if (error)
 						{
 						{
-							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol");
+							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol %s\n", model);
+							exit(EXIT_FAILURE);
 						}
 						}
 
 
 					}
 					}