2
0

[CI] Disable debug annotations for page-migration test (#291)

fix: Disable debug annotations in test

Fixup of PR: disable perfetto debug annotations in json tool
Este cometimento está contido em:
Kuricheti, Mythreya
2025-03-20 18:55:26 -07:00
cometido por GitHub
ascendente 8ac1265bc9
cometimento 6b6e17973f
2 ficheiros modificados com 3 adições e 0 eliminações
@@ -24,6 +24,7 @@
#include "lib/common/logging.hpp"
#include "lib/common/mpl.hpp"
#include "lib/common/static_object.hpp"
#include "lib/common/utility.hpp"
#include "lib/rocprofiler-sdk/agent.hpp"
#include "lib/rocprofiler-sdk/buffer.hpp"
#include "lib/rocprofiler-sdk/context/context.hpp"
@@ -426,6 +427,7 @@ page_migration_record_t parse_event<ROCPROFILER_PAGE_MIGRATION_NONE>(std::string
{
ROCP_CI_LOG(WARNING)
<< "ROCPROFILER_PAGE_MIGRATION_NONE for parsing page migration events should not happen";
return common::init_public_api_struct(page_migration_record_t{});
}
template <size_t OpInx, size_t... OpInxs>
+1
Ver ficheiro
@@ -21,6 +21,7 @@ add_test(NAME test-page-migration-execute COMMAND $<TARGET_FILE:page-migration>
set(page-migration-env
"${PRELOAD_ENV}"
"ROCPROFILER_DISABLE_PERFETTO_ANNOTATIONS=1"
"ROCPROFILER_TOOL_OUTPUT_FILE=page-migration-test.json"
"LD_LIBRARY_PATH=$<TARGET_FILE_DIR:rocprofiler-sdk::rocprofiler-sdk-shared-library>:$ENV{LD_LIBRARY_PATH}"
)