[rocprofv3] Unconditionally collect stream and kernel rename data in rocprofv3 for rocpd (#171)

* Remove config checks for stream and kernel rename data collection

* Updated csv generation to check if kernel rename is on before calling get_kernel_name

* Update metadata to use kernel_rename bool argument

* Formatting + unconditionally store kernel name in rocpd

* Readded kernel rename parameter after rebase

* Fixed rebase conflicts

* Updated comment in line with github comments

* Added check in rocpd csv.cpp to output kernel name if region name is empty

* Add test for kernel rename

---------

Co-authored-by: Ian Trowbridge <Ian.Trowbridge@amd.com>
This commit is contained in:
systems-assistant[bot]
2025-09-10 16:03:15 -05:00
committad av GitHub
förälder 156de36a92
incheckning b60c0ceddd
14 ändrade filer med 441 tillägg och 79 borttagningar
@@ -695,8 +695,8 @@ write_otf2(const output_config& cfg,
const auto* sym = _get_kernel_sym_data(info);
CHECK(sym != nullptr);
auto name =
tool_metadata.get_kernel_name(info.kernel_id, itr.correlation_id.external.value);
auto name = tool_metadata.get_kernel_name(
info.kernel_id, cfg.kernel_rename, itr.correlation_id.external.value);
_hash_data.emplace(
get_hash_id(name),
region_info{std::string{name}, OTF2_REGION_ROLE_FUNCTION, OTF2_PARADIGM_HIP});