[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>
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
3eb921a34c
işleme
65786f619d
@@ -182,9 +182,9 @@ TEST(enum_string, fwd_h)
|
||||
TEST_STR(ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_HSA_CORE_API);
|
||||
TEST_STR(ROCPROFILER_EXTERNAL_CORRELATION_REQUEST_ROCDECODE_API);
|
||||
|
||||
// rocprofiler_att_parameter_type_t
|
||||
TEST_STR(ROCPROFILER_ATT_PARAMETER_TARGET_CU);
|
||||
TEST_STR(ROCPROFILER_ATT_PARAMETER_PERFCOUNTERS_CTRL);
|
||||
// rocprofiler_thread_trace_parameter_type_t
|
||||
TEST_STR(ROCPROFILER_THREAD_TRACE_PARAMETER_TARGET_CU);
|
||||
TEST_STR(ROCPROFILER_THREAD_TRACE_PARAMETER_PERFCOUNTERS_CTRL);
|
||||
}
|
||||
|
||||
TEST(enum_string, hip_api_id)
|
||||
@@ -386,7 +386,8 @@ TEST(enum_string, unsuported)
|
||||
using namespace std::string_view_literals;
|
||||
|
||||
static_assert(!details::rocprofiler_enum_info<test_unsupported_enum>::supported);
|
||||
static_assert(!details::rocprofiler_enum_info<rocprofiler_att_control_flags_t>::supported);
|
||||
static_assert(
|
||||
!details::rocprofiler_enum_info<rocprofiler_thread_trace_control_flags_t>::supported);
|
||||
|
||||
TEST_API_ID_STR(TEST_ENUM_VALUE, V1);
|
||||
TEST_API_ID_STR(TEST_ENUM_VALUE, V3);
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle