Files
rocm-systems/projects/rocprofiler-sdk/source/docs/data/memory_allocation_trace.csv
T
Trowbridge, Ian 792329fefd SWDEV-492625 memory free functions (#11)
* SWDEV-492625: Track free memory HSA functions to help determine total amount of memory allocated on the system at any one time

* Minor fixes to address comments

* Update allocation size description

* Moved get function back to specialization, minor typo fixes

* Removed memory_operation_type field, removed memory_pool allocation enum, converted starting address to hex string for json format.

* Made conversion to hex_string a function, changed address to use union rocprofiler_address_t type, changed VMEM descriptors

* Removed as_hex from the global namespace

* Formatting

* Removed TRACK_EVENT for memory allocation, now TRACK_COUNTER for memory allocation is being performed

* Check if address was recorded before retrieving allocation size in generate Perfetto

* Formatting

* Update source/lib/output/generatePerfetto.cpp

* Explicitly disable app-abort tests

* Remove excluding app-abort test from workflow CI

- redundant bc these tests are explicitly marked as disabled now

---------

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

[ROCm/rocprofiler-sdk commit: 79006bb896]
2024-12-06 00:05:30 -06:00

736 B

1KindOperationAgent_IdAllocation_SizeAddressCorrelation_IdStart_TimestampEnd_Timestamp
2MEMORY_ALLOCATIONMEMORY_ALLOCATION_ALLOCATE010240x7fb2d00050001137217427105326343721742710584854
3MEMORY_ALLOCATIONMEMORY_ALLOCATION_FREE000x7fb2d00050001237217427105964043721742710933366
4MEMORY_ALLOCATIONMEMORY_ALLOCATION_ALLOCATE010240x7fb2d00050001337217427109414163721742710960916
5MEMORY_ALLOCATIONMEMORY_ALLOCATION_FREE000x7fb2d00050001437217427109672363721742711197647
6MEMORY_ALLOCATIONMEMORY_ALLOCATION_ALLOCATE010240x7fb2d00050001537217427112040773721742711219717
7MEMORY_ALLOCATIONMEMORY_ALLOCATION_FREE000x7fb2d00050001637217427112258573721742711466018