SWDEV-408936 solving rocprof hang due to early initialization

Change-Id: Ia9c52f3b4c7ff191054cef40208f26b28f021378


[ROCm/roctracer commit: d4c2546336]
This commit is contained in:
gobhardw
2023-10-25 20:02:27 +05:30
parent f08a32bed2
commit ec8c8ccc44
@@ -53,8 +53,6 @@
#include "trace_buffer.h"
#include "xml.h"
void initialize() __attribute__((constructor(101)));
namespace fs = std::experimental::filesystem;
// Macro to check ROC-tracer calls status
@@ -788,7 +786,3 @@ ROCTRACER_EXPORT bool OnLoad(HsaApiTable* table, uint64_t runtime_version,
ROCTRACER_EXPORT void OnUnload() { tool_unload(); }
} // extern "C"
void initialize() {
tool_load();
}