rocprofv3: support specifying HW counters via command line (#1130)

* rocprofv3: support specifying PMC counters via command line

- E.g. `rocprofv3 --pmc SQ_WAVES -- <app>`

* Update CHANGELOG

* updated rocprofv3 help and documentation

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>

[ROCm/rocprofiler-sdk commit: d93d4d9463]
This commit is contained in:
Jonathan R. Madsen
2024-10-25 02:49:30 -05:00
committed by GitHub
parent dbad56597a
commit 651e28f7f0
4 changed files with 72 additions and 3 deletions
@@ -542,6 +542,21 @@ Properties
- WRITE_SIZE
Command-Line
+++++++++++++
Desired counters can now be collected as ``command-line`` option as well.
To supply the counters via ``command-line`` options, use:
.. code-block:: shell
rocprofv3 --pmc SQ_WAVES GRBM_COUNT GRBM_GUI_ACTIVE -- <app_relative_path>
.. note::
1. Please note that more than 1 counters should be separated by a space or a comma.
2. Job will fail if entire set of counters cannot be collected in single pass
Kernel profiling output
+++++++++++++++++++++++++