SWDEV-516846: Fix serialization services conflicts and ATT counter streaming (#230)

* Update TT API

* Rework serialization

* update att_core

* Fix tests

* Fix tool

* Formatting

* Fix perfcounter

* Formatting

* Rename agent TT

* Format

* Workaround for codeQL alert

* Tidy fix

* Fix compiler error

* Tidy

* Fix some tests

* Fixing some tests

* formatting

* Fixing ATT serialization

* Format

* Fix test commandline

* Fixing init order

* Format

* Tidy fixes

* Removing unused sample

* Fix tests and schema

* Added ATT + PMC test

* Fix mode

* Fix file mode

* Review comments

* Fix typo

* Review comments

* Review comments

* Fix missing id inc after review comment

* Review comments

* Suggested Fixes

* Testing changes

* Test fix

* Build fixes

* Minor build fix

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
Co-authored-by: Benjamin Welton <bewelton@amd.com>
Co-authored-by: Welton, Benjamin <Benjamin.Welton@amd.com>

[ROCm/rocprofiler-sdk commit: 821918a512]
Tento commit je obsažen v:
Baraldi, Giovanni
2025-03-15 02:11:10 +01:00
odevzdal GitHub
rodič f0834cbd12
revize ac6e512e25
48 změnil soubory, kde provedl 763 přidání a 1525 odebrání
+3 -2
Zobrazit soubor
@@ -125,9 +125,10 @@ write_json(json_output& json_ar,
auto att_filenames = tool_metadata.get_att_filenames();
auto code_object_snapshot_filenames = std::vector<std::string>{};
code_object_snapshot_filenames.reserve(code_object_load_info.size());
code_object_snapshot_filenames.resize(code_object_load_info.size());
for(const auto& info : code_object_load_info)
code_object_snapshot_filenames.emplace_back(fs::path(info.name).filename());
code_object_snapshot_filenames.at(info.id) = fs::path(info.name).filename();
json_ar.setNextName("strings");
json_ar.startNode();