SWDEV-403050: Multiple fixes for Memory Leaks in profiler

Change-Id: Ib720a81105af13898ff745ce0cbc2a48c1f4a980


[ROCm/rocprofiler commit: 08fc21ac31]
This commit is contained in:
Ammar ELWazir
2023-05-27 09:34:42 +00:00
committed by Ammar ELWazir
parent 935b40b837
commit 5a7dec797e
26 changed files with 673 additions and 592 deletions
+2 -1
View File
@@ -145,7 +145,8 @@ std::string string_printf(const char* format, ...) {
std::string errmsg("ROCMTools: fatal error: " + message);
fputs(errmsg.c_str(), stderr);
throw(errmsg);
std::cerr << errmsg << std::endl;
abort();
}
/* The function extracts the kernel name from