Jonathan R. Madsen
a2288eb50b
[rocprofiler-sdk] Install unit tests and helper functions for integration tests ( #921 )
...
* [rocprofiler-sdk] Install unit tests and helper functions for integration tests
* Fix rocprofiler-sdk-tests-target export
* Fix handling of cmake policy CMP0174
* Remove -vv from new pytest.ini files
* add unit tests and integration tests.
* add path to ci workflow.
* misc. fixes.
* pc sampling tests.
* bug fixes.
* pc sampling tests fix.
* misc.
* Update CMakeLists.txt
* Update rocprofiler_config_install_tests.cmake, correct license name
* fix units tests install issues.
* fix counters_def file path.
* fix bug, arg shifting.
* vendor pytest-cmake.
* cmake config fix. missing endfunction()
* disable tests, 1.rocprofv3-trace-hip-libs. 2.kernel-tracing. 3.external_correlation 4.rocpd.
* disable buffered-tracing test and remove pytest-cmake from requirements.txt.
* disable hip-graph-tracing test.
* fix building standalone tests to load rocprofiler-sdk cmake package first and then find rocprofiler_sdk_pytest module.
* addressed comments: 1.add local bin path to code cov workflow. 2.add to cmake prefix path local bin. 3.use ROCPROFILER_MEMCHECK_PRELOAD_ENV_VALUE 4.misc. fix
* enabled back tests api_buffered, external_correlation_id, hip-graph, kernel-tracing, rocpd, tracing-hip-in-libraries. and misc fixes(formating, extra fixtures for agent-index tests.)
* cpack to use llvm bin for .hsaco debug symbols.
* psdb tests fixes.
* EOL.
* misc. fixes and Disable api_buffered_tracing, external_correlation_id, hip-graph-tracing, kernel-tracing, rocpd, summary, tracing-hip-libraries, tracing-plus-counter-collection.
* fix incorrect cmakelists file.
* strip smallkernel.bin
* format.
* revert disabled tests commit.
* misc. fix in counter tests.
* misc.
* search codeobj unit test assets in curr bin and install bin.
* refactor newly added rocpd tests.
* modify tests for newly added hip-host-tracing.
* add LD LIB path to units, psdb is failing due to libs not being found.
---------
Co-authored-by: Venkateshwar Reddy Kandula <venkateshwar.kandula1306@gmail.com >
Co-authored-by: Venkateshwar Reddy Kandula <Venkateshwarreddy.Kandula@amd.com >
Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com >
2025-11-21 08:06:56 -06:00
Giovanni Lenzi Baraldi
9849073836
SWDEV-540648: Adding realtime clock to v3 tool. Update decoder header. ( #666 )
...
* SWDEV-540648: Adding realtime clock to v3 tool. Update header for decoder.
* Adding tests
* Review comments
* Review comment
2025-09-10 12:39:27 +02:00
Giovanni Lenzi Baraldi
cb77f5af5c
Adding new trace decoder record types and new ATT parameters ( #195 )
...
* Adding new trace decoder record types and new ATT parameters
* Add compatiblity with decoder 0.1.2
* Added RT
* Format
* Add logging to sdata values
* Review comment
* Review comments
* Update projects/rocprofiler-sdk/source/include/rocprofiler-sdk/experimental/thread-trace/trace_decoder_types.h
2025-08-12 14:31:12 +02:00
Baraldi, Giovanni
4ca156e572
Thread trace and Trace Decoder API tests and samples ( #416 )
...
* Adding test and samples to decoder
* Fix sample
* Formatting
* Fix multi test
* Disable sample
* Fix tests
* Format
* Version fix
* Locking the decoder
* Add atomic
* Review comments
* Format
* Adding readme
* merge conflict and adding PCS+ATT test
* Review comments
* Properly disable PCS test
* Update tests/rocprofv3/advanced-thread-trace/CMakeLists.txt
* Adding back env var test
* Name fix
* Preload sample
* Addressing review comments
* Update docs
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com >
[ROCm/rocprofiler-sdk commit: e898079a13 ]
2025-07-22 20:08:12 -05:00
Baraldi, Giovanni
620924b15f
Adding inline callstack information to disassembly ( #468 )
...
* Adding callstack information to disassembly
* changelog
* Cleanup
* Fix snapshots.json
* Clang tidy fixes
* Fix infinite recursion
* Apply suggestions from code review
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com >
* Remove sibling transversal
* Added docstrings
* Apply suggestions from code review
* Update source/include/rocprofiler-sdk/cxx/codeobj/code_printing.hpp
* Review comments
* Format + comments
* Fmt
* Add class name
* Format
* Fix static linkage
* Making funcs inline
---------
Co-authored-by: Giovanni <gbaraldi@amd.com >
Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com >
[ROCm/rocprofiler-sdk commit: be74e1b49f ]
2025-07-22 15:52:42 +02:00
Baraldi, Giovanni
9a3bbb0037
Enable PC sampling to be run alongside ATT. Add ATT to changelog. ( #445 )
...
* Enable PC sampling to be run alongside ATT. Add ATT to changelog.
* Fix tests
* Review comments
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com >
[ROCm/rocprofiler-sdk commit: 2fa95e6d6d ]
2025-06-10 20:19:00 +02:00
Baraldi, Giovanni
cfea25a13a
ATT Doc updates. Fix trace-decode return error. ( #406 )
...
* Doc updates. Some cleanup.
* Formatting
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com >
[ROCm/rocprofiler-sdk commit: 3cb0c87f53 ]
2025-05-22 14:50:45 -05:00
Baraldi, Giovanni
682b9967e0
[RSERP-1802] Add trace decoder to API ( #398 )
...
* Add trace decoder to API.
* Cleanup and activity
* Rename
* Minor fix
* Replace tt/TT with thread_trace/THREAD_TRACE
- public API types are not abbreviated
* Fix aliases
* Build system updates
- activate clang-tidy for all subfolders in lib
- fix addition of sources for att-tool
* Fix clang-tidy issues with lib/att-tool/counters.{hpp,cpp}
* Delete counters.cpp
* Formatting
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com >
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com >
[ROCm/rocprofiler-sdk commit: 65786f619d ]
2025-05-17 12:08:33 -07:00
Madsen, Jonathan
9f7703f918
Build system (libdw), correlation ID, and shebang fixes ( #354 )
...
* Fix compilation for output library
- link to targets for ATT (amd-comgr, dw, elf)
* Relax correlation ID retirement log failures
- only fail for correlation ID retirement underflow when building in CI mode
* Fix shebang for several files
- license was inserted before shebang in several places
* Update code coverage exclude folders for samples
* Tweak to agent tests
- test to make sure hsa agent is not the old value instead of testing that it is the new value
* Fix libdw include/link
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com >
[ROCm/rocprofiler-sdk commit: 3580478426 ]
2025-04-27 20:16:18 -05:00
Baraldi, Giovanni
f91f0712f7
SWDEV-528686: ATT fix for gfx12 s_wait_idle. Fixes for csv. Default to parse to trace. Fix for ROCR_VISIBLE_DEVICES. ( #345 )
...
* Fix for gfx12 s_wait_idle. Added wait field on att.csv
* Format and default to ATT to trace
* Update .mds
* No fatal error for invalid agent
* Tidy fixes
* Rename wait to idle, removed uneeded headers
* Remove unused traceID
* Tidy fix
* Fix csv output
* Formatting
* Fix tests
* Fix tests
* Fix for visible devices
* Review comment: Fix cmake
* Review suggestion
* Remove changelog/readme
* Review comments
* Review comment for CSV
* Formatting
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com >
[ROCm/rocprofiler-sdk commit: a8f3397069 ]
2025-04-25 11:49:16 -05:00
Baraldi, Giovanni
3fc9374295
SWDEV-527202: Moving ATT to experimental ( #335 )
...
* Moving ATT to experimental
* Formatting + rebase
* Addressing review comments
* Formatting
* Update source/lib/att-tool/waitcnt/analysis.cpp
---------
Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com >
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com >
[ROCm/rocprofiler-sdk commit: 46818b0167 ]
2025-04-17 14:43:15 -05:00