SWDEV-427842: Fixing ATT csv mode

Change-Id: I7b8f37867d7aaf6da1301d91028990c343e555f1

- Updated README for kernel name truncation.
- Updated CHANGELOG.
- By default enabled truncation for ATT because csv file names should be smaller

Change-Id: I7b8f37867d7aaf6da1301d91028990c343e555f1


[ROCm/rocprofiler commit: 296c935874]
This commit is contained in:
gobhardw
2023-10-24 12:01:37 +05:30
committed by Gopesh Bhardwaj
parent 976c0e6717
commit c505fd6a2b
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -301,3 +301,4 @@ Example for file plugin output:
- Updated supported GPU architectures in README with profiler versions
- Automatic ISA dumping for ATT. See README.
- CSV mode for ATT. See README.
- Added option to control kernel name truncation.
+9
View File
@@ -533,6 +533,7 @@ A device profiling session allows the user to profile the GPU device for counter
- PERFCOUNTERS_COL_PERIOD=0x3 // Multiplier period for counter collection [0~31]. 0=fastest (usually once every 16 cycles). GFX9 only. Counters will be shown in a graph over time in the browser UI.
- PERFCOUNTER=counter_name // Add a SQ counter to be collected with ATT; period defined by PERFCOUNTERS_COL_PERIOD. GFX9 only.
- BUFFER_SIZE=[size] // Sets size of the ATT buffer collection, per dispatch, in megabytes (shared among all shader engines).
- By default, kernel names are truncated for ATT.To disable, please see the kernel name truncation section below.
## Tests
@@ -593,6 +594,14 @@ To enable error messages logging to '/tmp/rocprofiler_log.txt':
export ROCPROFILER_LOG=1
```
## Kernel Name Truncation
By default kernel names are not truncated. To enable truncation for readability:
```
export ROCPROFILER_TRUNCATE_KERNEL_PATH=1
```
## Documentation
We make use of doxygen to automatically generate API documentation. Generated document can be found in the following path:
+1
View File
@@ -201,6 +201,7 @@ while [ 1 ]; do
exit 1
fi
if [ "$2" = "att" ]; then
export ROCPROFILER_TRUNCATE_KERNEL_PATH=1
if [ $RUN_FROM_BUILD == 1 ]; then
ATT_PATH=$ROCM_DIR/plugin/att/att/att.py
else