Temporarily allow only host-trap sampling (#156)

[ROCm/rocprofiler-sdk commit: e4d736839d]
此提交包含在:
Indic, Vladimir
2025-01-27 20:26:11 +01:00
提交者 GitHub
父節點 b2c71e43cb
當前提交 9f7772d90b
共有 3 個檔案被更改,包括 9 行新增 和 6 行删除
+3 -2
查看文件
@@ -216,8 +216,9 @@ configure_pc_sampling_prefer_stochastic(tool_agent_info* agent_info,
{
if(cfg.method == ROCPROFILER_PC_SAMPLING_METHOD_STOCHASTIC)
{
first_stochastic_config = &cfg;
break;
// Temporarily disable stochastic sampling as it's not fully supported.
// first_stochastic_config = &cfg;
// break;
}
else if(!first_host_trap_config &&
cfg.method == ROCPROFILER_PC_SAMPLING_METHOD_HOST_TRAP)