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]
Dieser Commit ist enthalten in:
Indic, Vladimir
2024-12-20 17:04:16 +01:00
committet von GitHub
Ursprung d0d378897a
Commit 47a66adf1f
@@ -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())