Fix rocpd memory trace csv output (#166)

Co-authored-by: Srihari Uttanur <srihari.u@amd.com>
Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
Cette révision appartient à :
systems-assistant[bot]
2025-08-08 13:22:40 +05:30
révisé par GitHub
Parent 8b08c62fd2
révision e56ff3716d
+7 -1
Voir le fichier
@@ -318,7 +318,13 @@ write_memory_allocation_csv(
CsvType::MEMORY_ALLOCATION,
memory_alloc_gen,
[](CsvManager& cm, CsvType type, const rocpd::types::memory_allocation& malloc) {
std::string operation = fmt::format("MEMORY_ALLOCATION_{}", malloc.type);
std::string normalized_type = malloc.type;
if (normalized_type == "ALLOC")
{
normalized_type = "ALLOCATE";
}
std::string operation = fmt::format("MEMORY_ALLOCATION_{}", normalized_type);
std::string agent_identifier = create_agent_index(cm.config.agent_index_value,
malloc.agent_abs_index,