[rocpd] Adding merge and package submodules for rocpd#164
Merged
yhuiYH merged 21 commits intoNov 12, 2025
Merged
Conversation
ammallya
pushed a commit
that referenced
this pull request
Aug 7, 2025
use internal cluster for ci [ROCm/aqlprofile commit: fdedcfc]
ywang103-amd
pushed a commit
to ywang103-amd/rocm-systems
that referenced
this pull request
Aug 7, 2025
) [ROCm/rocprofiler-systems commit: 807a622]
Collaborator
jayhawk-commits
pushed a commit
that referenced
this pull request
Aug 18, 2025
6612e41 to
27edabf
Compare
bgopesh
reviewed
Aug 26, 2025
bgopesh
approved these changes
Aug 29, 2025
3203549 to
58fff90
Compare
0981616 to
2264461
Compare
…erge when using sub-commands merge & package
- Improve handling more corner cases for bad input files when parsing input parameters (bad yaml files, bad .rpdb folder, folders as input) - Changed to use UUID in merged filename instead of the time, in auto-merge algorithm
…rams to a function
…, recreating indexes, foreign key check (disabled for now, due to processing time)
- add_args function returns a functor which accepts input and args - time_window functor returned from add_args automatically applies time windowing of input
- copying can be enabled by passing "copy=True" or --copy cmdline argument
26181a6 to
3c72c4c
Compare
… 1. Tests updated to use query, much quicker
amd-atumakae
approved these changes
Nov 12, 2025
systems-assistant Bot
pushed a commit
to ROCm/rocprofiler-sdk
that referenced
this pull request
Nov 12, 2025
* adding ROCpd database merge
* adding ROCpd database merge concatenating all tables
* update merge script
- copy all tables from files
* fix merge format
* Add package submodule, initial POC. Need to refine
* Minor fixes and clean up duplicated code in package.py
* Revamp metadata layout, add wildcard and .rpdb parsing
* Add auto merge & package when > 5 DBs, add examples, don't use auto_merge when using sub-commands merge & package
* - Extend package/yaml inputs to all rocpd modules
- Improve handling more corner cases for bad input files when parsing input parameters (bad yaml files, bad .rpdb folder, folders as input)
- Changed to use UUID in merged filename instead of the time, in auto-merge algorithm
* Minor text fixes for consistancy between modules
* Add more wildcard support and add package, merge tests
* Make changes based on review suggestions
* Move parsing packages into importer.py, simplified adding required params to a function
* fix package test by flattening input list before processing
* Integrate merge.py changes from Jonathan to add name-collision checks, recreating indexes, foreign key check (disabled for now, due to processing time)
* Rework rocpd.<submodule>.{add_args,process_args}
- add_args function returns a functor which accepts input and args
- time_window functor returned from add_args automatically applies time windowing of input
* change merge&package limit to 1, merge should create data views
* Move files by default instead of making copies
- copying can be enabled by passing "copy=True" or --copy cmdline argument
* refactor package to make the logic cleaner, set merge limit back to 5
* Allow automerge-limit param to override limit, change default back to 1. Tests updated to use query, much quicker
* Update --help instructions for package
[rocm-systems] ROCm/rocm-systems#164 (commit 061948a)
ammallya
pushed a commit
that referenced
this pull request
Jan 30, 2026
* rocjpeg - CMake Find updates * Version file - fix * Changelog - updates * Cleanup * Test - cmakelists updates * header - minor fix --------- Co-authored-by: Kiriti <kiriti@santiago.amd.com>
ammallya
pushed a commit
that referenced
this pull request
Jan 30, 2026
* rocjpeg - CMake Find updates * Version file - fix * Changelog - updates * Cleanup * Test - cmakelists updates * header - minor fix --------- Co-authored-by: Kiriti <kiriti@santiago.amd.com> [ROCm/rocjpeg commit: bdb12b5]
ammallya
pushed a commit
that referenced
this pull request
Apr 9, 2026
Updates ROCm version used in the CI container to 7.1.1 AMDGPU repo removed as we don't need any packages from that repository (mostly kernel packages).
ammallya
pushed a commit
that referenced
this pull request
Apr 9, 2026
Updates ROCm version used in the CI container to 7.1.1 AMDGPU repo removed as we don't need any packages from that repository (mostly kernel packages). [ROCm/hipFile commit: 05eff1c]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



PR Details
Add merge.py and package.py python modules for rocpd to try to reduce the number of databases to manage, as well as consolidating the databases into a folder, to move around easier.
Associated Jira Ticket Number/Link
SWDEV-547026
What type of PR is this? (check all applicable)
Technical details
--consolidateis passed in, provided user with a--copyoption to allow user to keep original data unmodified.IDEAL_NUMBER_OF_DATABASE_FILES(currently 5), auto merge them. UPDATE: Jonathan wants to always auto-merge to 1 DB. So we created ability for user to pass in parameter--automerge-limitto raise this limit.mergeandpackagesubmodules if the user is using it directly, because they often don't want auto-merge algorithm interfering with what they want to do.Added/updated tests?
Updated CHANGELOG?
Added/Updated documentation?
🔁 Imported from ROCm/rocprofiler-sdk#106
🧑💻 Originally authored by @rocm-devops