SWDEV-430956: resolving the issue with V1 script reading long kernel names

Change-Id: I30069e28dbcc8edf2b4b41a8afd6ca4014427da7


[ROCm/roctracer commit: a7d8bd521c]
이 커밋은 다음에 포함됨:
Ammar ELWazir가 2023-11-08 16:33:01 +00:00를 커밋했습니다
1 부모 56d5b93339
커밋 2ad5eb8130
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -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();