Skip to content

Handle cpu name having colons - #2155

Merged
mcrnobrn-amd merged 3 commits into
developfrom
users/mcrnobrn-amd/agent-model-name-colon-parsing
Dec 11, 2025
Merged

mcrnobrn-amd merged 3 commits into
developfrom
users/mcrnobrn-amd/agent-model-name-colon-parsing

Conversation

@mcrnobrn-amd

Copy link
Copy Markdown
Contributor

Motivation

I was looking into SWDEV-559466 and found the root of the problem to be the lack of agent data (checked by Perfetto generation tests) on certain machines.

Technical Details

The data from /proc/cpuinfo sometimes includes model names that contain a colon and this was mishandled by the function.

JIRA ID

Resolves SWDEV-559466

Test Plan

Run ctest -R rocprofv3-test-rocpd-scratch*.

Test Result

On the target environment there is a different issue causing related tests to fail. It is documented under SWDEV-534891.

@mcrnobrn-amd
mcrnobrn-amd force-pushed the users/mcrnobrn-amd/agent-model-name-colon-parsing branch from a80944a to c61a546 Compare December 3, 2025 08:39
@mcrnobrn-amd mcrnobrn-amd self-assigned this Dec 3, 2025
@yhuiYH
yhuiYH requested a review from bgopesh December 3, 2025 21:33
@mcrnobrn-amd
mcrnobrn-amd force-pushed the users/mcrnobrn-amd/agent-model-name-colon-parsing branch from c61a546 to 47f74fa Compare December 4, 2025 00:40

@yhuiYH yhuiYH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx for unit test Gopesh.

@yhuiYH

yhuiYH commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

Not sure why the Continuous Integration tests are failing. Holding merge until we know the CI tests are run. Tests are passing locally.

@yhuiYH
yhuiYH force-pushed the users/mcrnobrn-amd/agent-model-name-colon-parsing branch from fa44bec to 11ac831 Compare December 10, 2025 02:36
@mcrnobrn-amd
mcrnobrn-amd merged commit 7b2f68e into develop Dec 11, 2025
38 of 48 checks passed
@mcrnobrn-amd
mcrnobrn-amd deleted the users/mcrnobrn-amd/agent-model-name-colon-parsing branch December 11, 2025 15:36
systems-assistant Bot pushed a commit to ROCm/rocprofiler-sdk that referenced this pull request Dec 11, 2025
* Handle cpu name having colons
* Adding tests to verify
* clang-format fix
[rocm-systems] ROCm/rocm-systems#2155 (commit 7b2f68e)
xuchen-amd pushed a commit that referenced this pull request Dec 16, 2025
* Handle cpu name having colons
* Adding tests to verify
* clang-format fix

---------

Co-authored-by: bgopesh <gopesh.bhardwaj@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants