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 authored and GitHub committed 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())