SWDEV-500520: Updated documentation for hang issue (#79)

* SWDEV-500520: Updated documentation for hang issue

* Avoid fatal error when invalid metric is found

* removing invalid metrics

* clang formatting
This commit is contained in:
Jakaraddi, Manjunath
2025-01-16 02:14:22 -08:00
zatwierdzone przez GitHub
rodzic 536fbba627
commit dfee6489b1
2 zmienionych plików z 12 dodań i 13 usunięć
@@ -838,9 +838,9 @@ get_device_counting_service(rocprofiler_agent_id_t agent_id)
", "));
auto found_counters =
fmt::format("{}", fmt::join(found_v.begin(), found_v.end(), ", "));
LOG(FATAL) << "Unable to find all counters for agent " << agent_v->node_id
<< " (gpu-" << agent_v->gpu_index << ", " << agent_v->name << ") in ["
<< requested_counters << "]. Found: [" << found_counters << "]";
ROCP_WARNING << "Unable to find all counters for agent " << agent_v->node_id
<< " (gpu-" << agent_v->gpu_index << ", " << agent_v->name << ") in ["
<< requested_counters << "]. Found: [" << found_counters << "]";
}
if(!counters_v.empty())