Graphe des révisions

482 Révisions

Auteur SHA1 Message Date
Sajina PK 13f315a65d "How-to" document describing VCN and JPEG metrics and tracing (#186)
- Create a document to describe enabling VCN and JPEG related metrics
  and tracing
- Upload images and modify indexes.
2025-06-02 13:31:18 -04:00
dependabot[bot] 7ff2de2591 Bump rocm-docs-core[api_reference] from 1.19.1 to 1.20.0 in /docs/sphinx (#222)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.19.1...v1.20.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 09:47:38 -04:00
dependabot[bot] 2afe8b68ea Bump rocm-docs-core[api_reference] from 1.19.0 to 1.19.1 in /docs/sphinx (#219)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.19.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 09:32:01 -04:00
habajpai-amd 39090bfc54 Add corr_id for HIP Runtime API in Perfetto (#218)
for SWDEV-533883

---------

Co-authored-by: Aleksandar Djordjevic <aleksandar.djordjevic@amd.com>
2025-05-29 16:00:31 -04:00
David Galiffi 4c324e8b28 add CODEOWNERS for docs/sphinx (#216) 2025-05-28 12:22:53 -04:00
dependabot[bot] 9943e10569 Bump tornado from 6.4.2 to 6.5.1 in /docs/sphinx (#214)
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.4.2 to 6.5.1.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.4.2...v6.5.1)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 11:33:54 -04:00
dependabot[bot] 22642aaff9 Bump rocm-docs-core[api_reference] from 1.18.4 to 1.19.0 in /docs/sphinx (#215)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.18.4 to 1.19.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.18.4...v1.19.0)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-27 11:25:20 -04:00
kcossett-amd 54e91f1c2d Add Pre-Commit Hooks (#212)
Pre-commit hooks for: 
- clang-format
- cmake-format
- copyright header check
- YAML check
- Trailing whitespace and end-of-file newline check

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Peter Park <git@peterjunpark.com>
2025-05-26 14:50:48 -04:00
anujshuk-amd 4c24975626 Update transpose-rocprofiler-* tests (#210)
- Updating counters collected and tested for on Navi-based machines
- Update add CMake function to query GPU architectures
- Update decode tests to use new functions
2025-05-22 14:04:33 -04:00
David Galiffi dfbcbee55f Add note about workaround required for older versions of tool. (#209)
Versions prior to ROCm 6.3.1 require that Perfetto UI v46.0 is used to view output files.
For SWDEV-510143
2025-05-20 17:27:02 -04:00
David Galiffi fc08d56fb4 Update Dockerfiles (#207)
Add chrpath to dockerfiles
2025-05-15 21:06:12 -04:00
Pranjal Swarup 4c7560c78c ROCPROFSYS_AMD_SMI_METRICS visibility (#208)
* Removed advanced category from ROCPROFSYS_AMD_SMI_METRICS to have this property visible with rocprof-sys-avail.
2025-05-15 13:31:40 -04:00
Sajina PK 90ad264447 Add new VA-API methods to the gotcha wrappers (#203)
For a new feature in rocJPEG adding new VA-APIs to the gotcha wrapper
2025-05-13 08:05:55 -04:00
David Galiffi 45b600b34e Fix openmp-target test on gfx950 (#204)
for SWDEV530112
2025-05-12 14:20:24 -04:00
David Galiffi 82d5b8c64f Update containers.yml (#205)
Add the rhel-9.5 container to the recurring updates
2025-05-09 17:50:44 -04:00
David Galiffi 96b31d92c3 Fix build failure for the openmp-target example when building in docker. (#197)
- Add cmake formatting rule for `rocprofiler-systems-custom-compilation`
- Resolve build failure observed with the `openmp-target` example when building in some environments
  - Observed in our docker images
  - Ensure `libomptarget-amdgpu-gfx*.bc` files are found
2025-05-05 21:49:46 -04:00
Pratik Basyal f7c7cd297e Changelog for ROCm Systems Profiler 1.0.1 added to develop (#199)
* Changelog for ROCm 6.4.1 added

* Reference docs added

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-05-05 15:06:37 -04:00
dependabot[bot] a5c56a665d Bump rocm-docs-core[api_reference] from 1.18.2 to 1.18.4 in /docs/sphinx (#196)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.18.2 to 1.18.4.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.18.2...v1.18.4)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.18.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 13:10:38 -04:00
David Galiffi 83a9eb3d7c Updating release build dockers (#195)
- Bringing in recent changes from rocm-6.4 branch (https://github.com/ROCm/rocprofiler-systems/pull/171)
- Add libdrm-devel to rhel and suse files
- Update ROCm installation method in Ubuntu file
- Add additional output to `test-release.sh` to catch failures due to a Python version not included
- Add Python 3.13 to Dockers
2025-05-02 19:29:15 -04:00
David Galiffi adc66956b0 Fix path to post-processing merge script (#187)
- Path to merge script not found unless user explicitly sources "share/rocprofiler-systems/setup-env.sh" to setup PATHs.
- Instead, let's derive the path when the application loads and use it when executing the helper script
- Rename script to rocprof-sys-merge-output.sh.
- Change install folder to <prefix>/libexec/rocprofiler-systems based on dev-ops feedback.
- Updated PATH variable in the modulefile and source scrtipt.
- For SWDEV-528101
2025-05-02 16:52:54 -04:00
anujshuk-amd ff109912c2 Reverting PR-154 Changes since VCN data not seen on Perfetto file (#191) 2025-05-02 16:19:43 -04:00
David Galiffi 0f16d45445 Conditionally include ROCPROFILER_BUFFER_TRACING_PAGE_MIGRATION (#193)
- Include only if ROCPROFILER_SDK_VERSION < 1.0.0, as it is being removed
- For SWDEV-530639
2025-05-02 15:05:27 -04:00
David Galiffi 7d74dc7d5d Install rocprof-sys-causal-print to /opt/rocm/libexec/rocprofiler-systems (#175)
For SWDEV-528225

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-05-01 19:49:11 -04:00
David Galiffi e9e194a3ca Re-enable RPM_PACKAGE_AUTOREQ (#174)
Removes workaround for SWDEV-525268

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-05-01 19:46:24 -04:00
Sajina PK 99a411fe52 Fix to overlapping VCN and JPEG tracks in perfetto (#192)
- Fix overlapping VCN and JPEG activity values in Perfetto output.
- Modify the storage of the activity values to be more efficient.
2025-05-01 19:40:49 -04:00
Luca Bruni 8ae6651357 Appropriately filter data based on -D and -H options (#163)
- Addresses concern that device metric tracks are still shown in Perfetto trace file even when only -H is specified to rocprof-sys-sample (and vice versa).
- Update sampling call-stack docs.
2025-04-30 09:50:51 -04:00
anujshuk-amd 8d48048bd3 Fix ROCPROFSYS_AMD_SMI_METRICS parsing (#178)
Fixes a bug where all the `ROCPROFSYSE_AMD_SMI_METRICS` values were being recorded by default.
Fixes bug with the 'all' and 'none' values giving an exception when specified for `ROCPROFSYSE_AMD_SMI_METRICS`.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-04-28 09:22:20 -04:00
Aleksandar Djordjevic 39f676aa71 [CMake] Fix GPU detection function
* Fix cmake GPU detection

* formatting cmake

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-04-28 05:07:00 +02:00
Pratik Basyal 8b09fb71d9 Changelog edited to sync with release branch and clarity [amdstaging] (#182)
* Changelog edited to sync with release-6.4 branch

* Peer review feedback added

Co-authored-by: Jeffrey Novotny <jnovotny@amd.com>

---------
Co-authored-by: Jeffrey Novotny <jnovotny@amd.com>
2025-04-24 16:19:13 -04:00
Pratik Basyal 16745948de Broken link fix to How-to: Configuring Runtime Options [amd-staging] (#180)
* Update to KOKKOS_TOOLS_LIBS env var (#69)

* Broken link fixed

---------

Co-authored-by: Maarten Arnst <maarten.arnst@ulg.ac.be>
2025-04-24 12:34:00 -04:00
dependabot[bot] cbc0080419 Bump cryptography from 43.0.1 to 44.0.1 in /docs/sphinx (#173)
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 44.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 11:07:31 -04:00
Sohaib Nadeem 0e535daa93 Initialization fixes (#154)
- Remove tooling initialization from rocprofiler_configure:
when rocprofiler configure is called from __hip_module_ctor
(which in turn is called as a global constructor when loading shared
libraries or before main in a hip program), initializing tooling
in it can cause problems because it is too early to do some of the tasks
that it involves (e.g. opening shared libraries, creating threads).
Instead, we rely on rocprofsys_main to initialize tooling later.

- Skip rocprofiler_configure if ROCPROFSYS_PRELOAD is not set since
preload is required for tooling (such as perfetto, which is used by
the rocprofiler callbacks) to be initialized.

- Revert RCCL initialization changes: These are no longer needed since rocprofsys_init_tooling_hidden will not
be called from rocprofiler_configure

- Force rocprofiler_configure in rocprofsys_init_tooling_hidden if it hasn't been
called through __hip_module_ctor global constructor
2025-04-21 17:04:24 -04:00
David Galiffi f03dce5fa6 Fix the rocm installation (#172) 2025-04-18 16:33:34 -04:00
David Galiffi 169c9a0d49 Add rocm-6.4 to workflows (#165)
* Add rocm-6.4 to workflows

* Update containers.yml

* Update cpack.yml

* Update cpack.yml

* Disable OpenMP Target Examples on GitHub Runners

* Fix build warnings.

Switch statements with unhandled enums.

* Enable testing on 6.3 and 6.4

* Ubuntu 24 workflow. Build both ROCm 6.3 and 6.4

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-04-18 09:32:26 -04:00
raramakr 1c3616fcc2 SWDEV-504756 - Prevent the modification of interpreter directives (#168)
CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8.
This is resulting in dependency to platform-python
Undefining __brp_mangle_shebangs will prevent the same
2025-04-16 21:21:09 -04:00
David Galiffi 2680ccc3a7 Fix rocprofiler-sdk includes (#169)
For compatibility with recent rocprofiler-sdk change.
2025-04-16 21:18:06 -04:00
Sajina PK e805c0f3e7 Updates to rocDecode and rocJPEG samples (#166)
* Edit CMakeList files and include paths for library headers.
2025-04-16 17:12:21 -04:00
David Galiffi b25b6cec92 Added copyright information to requested files (#167)
For SWDEV-526556
2025-04-15 18:39:53 -04:00
David Galiffi 75916f8876 Fix RPM generation on RHEL 10 (#162)
* Set version for RPM_PACKAGE_OBSOLETES

* Not setting a version of omnitrace which rocprofiler-systems obsoletes will result in a warning

* Patch RPATH in libunwind files

* Update Timemory pointer

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-04-14 11:34:53 -04:00
anujshuk-amd 807a622b04 Change the default value of ROCPROFSYS_SAMPLING_CPUS to "none" (#164) 2025-04-11 17:09:26 -04:00
ajanicijamd 11fe6a8ebb Added ctest for NIC performance profiling (#143)
Added two new tests: nic-performance and validate-nic-performance-perfetto
- For ticket: SWDEV-516739
2025-04-09 17:38:46 -04:00
David Galiffi eaad295cfc Disable AUTOREQ and manually add requirements. (#160)
- The amd-smi-lib package is not providing libamd_smi.so in its specs. We need to add a package dependency instead.
  - For ticket: SWDEV-525268
- Add support for `ROCM_DEP_ROCMCORE` in CMake
2025-04-09 17:15:24 -04:00
Sajina PK fad3a0d341 RocJpeg cmake and document fixes (#157)
- Fix for rocjpeg sample cmake due to changes in the rocJPEG project
- Fix for rocprofiler-sdk version check - change the format
- Edits to docs for jpeg and vcn activity support - mention that these values may not be supported on all ASICs.
2025-04-09 16:20:02 -04:00
ajanicijamd de84a277f2 "How-To" document describing network performance profiling (#145)
---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: Peter Park <peter.park@amd.com>
Co-authored-by: Pratik Basyal <pratik.basyal@amd.com>
2025-04-09 16:11:52 -04:00
Sajina PK 83d6f73f03 Jpeg sample fix for seg fault (#158)
Update the rocJpeg sample used for testing with the latest on from the rocJPEG repo.
2025-04-03 13:54:32 -04:00
dependabot[bot] 7f2b19882d Bump rocm-docs-core[api_reference] from 1.18.1 to 1.18.2 in /docs/sphinx (#159)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.18.1...v1.18.2)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-version: 1.18.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 09:46:25 -04:00
Ben Richard ee11f5b206 rocprof-sys-run: Change terminal color back to normal after printing usage (#155)
* Change terminal color back to normal after printing usage

* Format source

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
2025-04-01 11:06:40 -04:00
David Galiffi beae5e5b44 Update dyninst submodule (#153)
Fix GGC 13 build failure caused by a missing include of <array>

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
2025-03-31 11:10:48 -04:00
David Galiffi 7bb45aba1c Additional AMD-SMI Updates (#149)
- Check AMDSMI header version to fix compilation failure with v2.0 header change
- Fix ROCM-SMI references in documentation and tests
- Check AMDSMI library version at runtime and output in logs
- Fix a possible exception occurring when an in-flight sample is outstanding while the component is shutting down.
2025-03-31 11:07:50 -04:00
David Galiffi b6b39af011 Fix "ROCPROFSYS_USE_ROCM" runtime config setting. (#144) 2025-03-27 16:03:46 -04:00