Skip to content

Commit

Permalink
SWDEV-251491 : disabling hipModuleUnload tracing which is called on exit
Browse files Browse the repository at this point in the history
Change-Id: I99c22eec3fea6ac8820d574c44df099febdd27c4
  • Loading branch information
Evgeny authored and Evgeny Shcherbakov committed Oct 1, 2020
1 parent 093844b commit bb8f2f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/tool/tracer_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb8f2f6

Please sign in to comment.