[RSERP-1802] Add trace decoder to API (#398)

* Add trace decoder to API.

* Cleanup and activity

* Rename

* Minor fix

* Replace tt/TT with thread_trace/THREAD_TRACE

- public API types are not abbreviated

* Fix aliases

* Build system updates

- activate clang-tidy for all subfolders in lib
- fix addition of sources for att-tool

* Fix clang-tidy issues with lib/att-tool/counters.{hpp,cpp}

* Delete counters.cpp

* Formatting

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 65786f619d]
This commit is contained in:
Baraldi, Giovanni
2025-05-17 21:08:33 +02:00
committed by GitHub
parent 593fdf6c27
commit 682b9967e0
56 changed files with 1175 additions and 1419 deletions
@@ -52,9 +52,9 @@ get_kernel_id(pcinfo_t pc)
namespace OccupancyFile
{
void
OccupancyFile(const Fspath& dir,
std::shared_ptr<AddressTable>& table,
const std::map<size_t, std::vector<att_occupancy_info_v2_t>>& occ)
OccupancyFile(const Fspath& dir,
std::shared_ptr<AddressTable>& table,
const std::map<size_t, std::vector<occupancy_t>>& occ)
{
if(!GlobalDefs::get().has_format("json")) return;
nlohmann::json jocc;