Bring the HSA_EVT callbacks back to the roctracer

Change-Id: I26080b264d7989880ba7e9f00502cc680b2256d7
这个提交包含在:
Laurent Morichetti
2022-06-10 18:07:30 -07:00
父节点 ac3214d32a
当前提交 c2b87b1fd7
修改 16 个文件,包含 799 行新增465 行删除
+2 -1
查看文件
@@ -694,7 +694,8 @@ void tool_load() {
extern "C" {
// The HSA_AMD_TOOL_PRIORITY variable must be a constant value type initialized by the loader
// itself, not by code during _init. 'extern const' seems do that although that is not a guarantee.
// itself, not by code during _init. 'extern const' seems to do that although that is not a
// guarantee.
ROCTRACER_EXPORT extern const uint32_t HSA_AMD_TOOL_PRIORITY = 1050;
// HSA-runtime tool on-load method