Temporarily allow only host-trap sampling (#156)

Cette révision appartient à :
Indic, Vladimir a créé et GitHub a révisé 2025-01-27 13:26:11 -06:00
1 Parent 19a912d476
révision e4d736839d
3 fichiers modifiés
+9 -6

Aucun fichier ne correspond à votre recherche

+3 -2
Voir le fichier
@@ -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)
{