From bb8f2f67858d68b13b00696b2798857676201210 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 1 Oct 2020 05:58:50 -0400 Subject: [PATCH] SWDEV-251491 : disabling hipModuleUnload tracing which is called on exit Change-Id: I99c22eec3fea6ac8820d574c44df099febdd27c4 --- test/tool/tracer_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tool/tracer_tool.cpp b/test/tool/tracer_tool.cpp index ad8660129f..4aa1b68210 100644 --- a/test/tool/tracer_tool.cpp +++ b/test/tool/tracer_tool.cpp @@ -1065,6 +1065,7 @@ extern "C" PUBLIC_API bool OnLoad(HsaApiTable* table, uint64_t runtime_version, if (trace_hip_api) { hip_api_file_handle = open_output_file(output_prefix, "hip_api_trace.txt"); ROCTRACER_CALL(roctracer_enable_domain_callback(ACTIVITY_DOMAIN_HIP_API, hip_api_callback, NULL)); + ROCTRACER_CALL(roctracer_disable_op_callback(ACTIVITY_DOMAIN_HIP_API, HIP_API_ID_hipModuleUnload)); if (is_stats_opt) { const char* path = NULL;