ROCProfV3: fatal message if PC sampling unsupported, but requested (#60)

If a user requests PC sampling on a system that does not support this feature,
report a fatal error message and stop executing the program.

[ROCm/rocprofiler-sdk commit: 0ce75c1043]
이 커밋은 다음에 포함됨:
Indic, Vladimir 작성하고 GitHub가 2024-12-20 08:04:16 -08:00를 커밋함
1 부모 d0d378897a
커밋 47a66adf1f
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -1334,7 +1334,7 @@ tool_init(rocprofiler_client_finalize_t fini_func, void* tool_data)
}
}
if(!config_match_found)
ROCP_ERROR << "Given PC sampling configuration is not supported on any of the agents";
ROCP_FATAL << "Given PC sampling configuration is not supported on any of the agents";
}
for(auto itr : get_buffers().as_array())