From a7d8bd521c2e1187cf6098fc5ab53dcce72ce07e Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Wed, 8 Nov 2023 16:33:01 +0000 Subject: [PATCH] SWDEV-430956: resolving the issue with V1 script reading long kernel names Change-Id: I30069e28dbcc8edf2b4b41a8afd6ca4014427da7 --- plugin/file/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/file/file.cpp b/plugin/file/file.cpp index 5c6860ee32..c00753cdb5 100644 --- a/plugin/file/file.cpp +++ b/plugin/file/file.cpp @@ -318,7 +318,7 @@ class file_plugin_t { ss << std::dec << begin->begin_ns << ":" << begin->end_ns << " " << begin->device_id << ":" << begin->queue_id << " " << ((begin->op == HIP_OP_ID_DISPATCH && begin->kernel_name != nullptr) - ? cxx_demangle(begin->kernel_name) + ? truncate_name(cxx_demangle(begin->kernel_name)) : name) << ":" << begin->correlation_id << ":" << GetPid() << "\n"; *output_file << ss.str();