SWDEV-523436: Fix logging of code object id=0. Add perfevent test. (#318)

* SWDEV-523436: Fix logging of code object id=0. Add perfevent test.

* Apply suggestions from code review

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

[ROCm/rocprofiler-sdk commit: 48c672e23e]
This commit is contained in:
Baraldi, Giovanni
2025-03-31 19:34:53 +02:00
committed by GitHub
parent 56c4dc84f0
commit b382041b4f
2 changed files with 10 additions and 0 deletions
@@ -139,6 +139,8 @@ ATTDecoder::parse(const Fspath& input_dir,
for(const auto& file : codeobj_files)
{
if(file.id == 0 && file.name.empty()) continue;
if(file.name.find("memory://") == 0)
{
ROCP_WARNING << file.name << " was not loaded";