Skip to content

fix(rocprof-trace-decoder): handle and table lifetime after main#8903

Open
ApoKalipse-V wants to merge 2 commits into
developfrom
users/gbaraldi/fixlifetime
Open

fix(rocprof-trace-decoder): handle and table lifetime after main#8903
ApoKalipse-V wants to merge 2 commits into
developfrom
users/gbaraldi/fixlifetime

Conversation

@ApoKalipse-V

@ApoKalipse-V ApoKalipse-V commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Motivation

Rocprof-trace-decoder does not handle well functions called both before/after main() due to lifetime issues of static objects.
This PR addresses it.

JIRA ID : AIPROFSDK-1001

Submission Checklist

@therock-pr-bot

therock-pr-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

✅ All Policy Checks Passed

Check Status Details
🌿 Branch Name ✅ Pass
📝 PR Title/Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled

🎉 All policy checks passed!

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot

Copy link
Copy Markdown

🚫 Please fix the failed policies before requesting reviews.

The following policy checks failed:

  • ❌ PR Title/Description

The Not ready to Review label has been added to this PR.
Once all policies pass, the label will be removed automatically.

@ApoKalipse-V ApoKalipse-V changed the title fix(rocprof-trace-decoder) handle and table lifetime management with global destructor fix(rocprof-trace-decoder): handle and table lifetime after main Jul 21, 2026
@ApoKalipse-V
ApoKalipse-V force-pushed the users/gbaraldi/fixlifetime branch from 905f4ff to 125853b Compare July 21, 2026 01:07
@ApoKalipse-V
ApoKalipse-V force-pushed the users/gbaraldi/fixlifetime branch from 125853b to 0b72b4d Compare July 21, 2026 10:51

@meserve-amd meserve-amd 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.

Looks good and I like the test. Some minor comments on convention and naming.

Comment thread projects/rocprof-trace-decoder/source/gfx10/gfx10wave.cpp Outdated
Comment thread projects/rocprof-trace-decoder/source/gfx11/gfx11wave.cpp
Comment thread projects/rocprof-trace-decoder/source/handle.hpp Outdated
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.

2 participants