diff --git a/samples/pc_sampling/pcs.cpp b/samples/pc_sampling/pcs.cpp index 626251ef76..d782544b75 100644 --- a/samples/pc_sampling/pcs.cpp +++ b/samples/pc_sampling/pcs.cpp @@ -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) diff --git a/source/lib/rocprofiler-sdk/pc_sampling/tests/configure_service.cpp b/source/lib/rocprofiler-sdk/pc_sampling/tests/configure_service.cpp index 99e72adade..dbd7302a06 100644 --- a/source/lib/rocprofiler-sdk/pc_sampling/tests/configure_service.cpp +++ b/source/lib/rocprofiler-sdk/pc_sampling/tests/configure_service.cpp @@ -166,8 +166,9 @@ extract_pc_sampling_config_prefer_stochastic(rocprofiler_agent_id_t agent_id) { 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) { diff --git a/tests/pc_sampling/pcs.cpp b/tests/pc_sampling/pcs.cpp index d0b6d3e34c..012586db89 100644 --- a/tests/pc_sampling/pcs.cpp +++ b/tests/pc_sampling/pcs.cpp @@ -245,8 +245,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)