[SWDEV-560828][AMD-SMI] "Fix for amd-smi ras --cper component not being redirected to output file with --follow fix" (#1950)

* Fix for amd-smi ras --cper component does not redirecting output to file

Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com>

* Update amdsmi_helpers.py

* updated CHANGELOG

Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com>

* updated CHANGELOG

Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com>

---------

Signed-off-by: yalmusaf_amdeng <Yazen.ALMusaffar@amd.com>
Цей коміт міститься в:
Yazen AL Musaffar
2025-12-08 12:07:19 -06:00
зафіксовано GitHub
джерело 277072f241
коміт 7bfccc009e
2 змінених файлів з 132 додано та 23 видалено
+3
Переглянути файл
@@ -398,6 +398,9 @@ Full documentation for amd_smi_lib is available at [https://rocm.docs.amd.com/pr
### Resolved Issues
- **Fixed CPER component not being redirected to output file issue when using `amd-smi ras --cper --folder <folder_name> --file <file_name> --follow`**.
- Utlized the AMDSMILogger to redirect to output file when --file option is used
- **Fixed a CPER record count mismatch issue when using the `amd-smi ras --cper --file-limit`**.
- Fixed deletion calculation to use files_to_delete = len(folder_files) - file_limit for exact file count management