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>
This commit is contained in:
48 files changed
+763
-1525
No files matched your search
@@ -37,7 +37,7 @@ class ATTDecoderTest : public ATTDecoder
|
||||
{
|
||||
public:
|
||||
ATTDecoderTest()
|
||||
: ATTDecoder(rocprofiler::att_wrapper::tool_att_capability_t::ATT_CAPABILITIES_TESTING)
|
||||
: ATTDecoder(rocprofiler::att_wrapper::tool_att_capability_t::ATT_CAPABILITIES_TESTING1)
|
||||
{
|
||||
rocprofiler::att_wrapper::OutputFile::Enabled() = false;
|
||||
GlobalDefs::get().output_formats = "json,csv";
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
void test_parse()
|
||||
{
|
||||
ATTFileMgr mgr("out/", dl);
|
||||
ATTFileMgr mgr("out/", dl, {});
|
||||
|
||||
auto append_isa = [&](const char* line) {
|
||||
// matches addresses in dummy_decoder.cpp
|
||||
@@ -107,7 +107,7 @@ TEST(att_decoder_test, warn_failures)
|
||||
ATTDecoderTest decoder;
|
||||
ROCP_FATAL_IF(!decoder.valid()) << "Failed to initialize decoder library!";
|
||||
|
||||
decoder.parse(".", ".", att_files, codeobjs, "csv,json");
|
||||
decoder.parse(".", ".", att_files, codeobjs, {}, "csv,json");
|
||||
}
|
||||
|
||||
TEST(att_decoder_test, code_write)
|
||||
|
||||
Reference in new issue
Block a user