From c1afcb95e75bd65de7a3ca8588c29527d6b59073 Mon Sep 17 00:00:00 2001 From: Giovanni LB Date: Fri, 14 Apr 2023 19:17:26 -0300 Subject: [PATCH] PLAT-130888: Added kernel dispatch ID to txt Change-Id: I7852a98b9b7be0098b45f5a433f6cbba0617eb05 --- plugin/att/att.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/att/att.cpp b/plugin/att/att.cpp index 4165fbe9f0..c16a1e853d 100644 --- a/plugin/att/att.cpp +++ b/plugin/att/att.cpp @@ -96,9 +96,10 @@ class att_plugin_t { bIncrementVersion = att_file_exists(outpath + fss + "_kernel.txt"); } + auto dispatch_id = att_tracer_record->header.id.handle; std::string fname = outpath + name_demangled + "_v" + std::to_string(file_iteration) + "_kernel.txt"; - std::ofstream(fname.c_str()) << name_demangled << ": " << kernel_name_c << '\n'; + std::ofstream(fname.c_str()) << name_demangled << " [" << dispatch_id << "]: " << kernel_name_c << '\n'; // iterate over each shader engine att trace for (int i = 0; i < se_num; i++) {