ソースを参照

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)
 						{
-							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol");
+							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol %s\n", model);
+							exit(EXIT_FAILURE);
 						}
 
 					}