SWDEV-408936 solving rocprof hang due to early initialization
Change-Id: Ia9c52f3b4c7ff191054cef40208f26b28f021378
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user