From 3ba5d6b34c9b254e2aaa29c3de363be37bcaca4c Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 20 Sep 2019 12:43:12 -0500 Subject: [PATCH] fixing tracing api name --- test/tool/tracer_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tool/tracer_tool.cpp b/test/tool/tracer_tool.cpp index f0ce7af6d9..0851e98130 100644 --- a/test/tool/tracer_tool.cpp +++ b/test/tool/tracer_tool.cpp @@ -240,7 +240,7 @@ void hip_api_flush_cb(hip_api_trace_entry_t* entry) { const timestamp_t end_timestamp = entry->end; std::ostringstream oss; \ - const char* str = (domain == ACTIVITY_DOMAIN_EXT_API) ? roctracer_op_string(domain, cid, 0) : strdup("MARK"); + const char* str = (domain != ACTIVITY_DOMAIN_EXT_API) ? roctracer_op_string(domain, cid, 0) : strdup("MARK"); oss << std::dec << begin_timestamp << ":" << end_timestamp << " " << entry->pid << ":" << entry->tid << " " << str;