소스 검색

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);
 						}
 
 					}