SDK: Agent UUIDs, agent runtime visibility, kernel symbol address (#154)

* [DO NOT MERGE] Misc UUID updates

- this is WIP

* Agent visibility

- Support for ROCR_VISIBLE_DEVICES, HIP_VISIBLE_DEVICES, CUDA_VISIBLE_DEVICES, GPU_DEVICE_ORDINAL

* Update CHANGELOG

* tweak to rocprofiler_agent_runtime_visiblity_t

* Code object kernel address

- new fields in code_object_kernel_symbol_register_data_t
  - kernel_code_entry_byte_offset
  - kernel_address

* Support ROCR_VISIBLE_DEVICES reordering devices for HIP

* Addressed code review changes

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 6246ec4040]
This commit is contained in:
Madsen, Jonathan
2025-02-11 14:36:23 -06:00
committed by GitHub
parent 96ec52f2da
commit 5cc6244389
14 changed files with 914 additions and 94 deletions
@@ -602,26 +602,13 @@
"type": "integer",
"description": "ID of the code object."
},
"rocp_agent": {
"agent_id": {
"type": "object",
"description": "ROCP agent information.",
"description": "Rocprofiler-SDK agent information.",
"properties": {
"handle": {
"type": "integer",
"description": "Handle of the ROCP agent."
}
},
"required": [
"handle"
]
},
"hsa_agent": {
"type": "object",
"description": "HSA agent information.",
"properties": {
"handle": {
"type": "integer",
"description": "Handle of the HSA agent."
"description": "Handle of the Rocprofiler-SDK agent."
}
},
"required": [