SWDEV-448626 - Removed gpu prefix in non-csv formats
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I77fc58828a978080482e6ab01ff89f1f5a554dc5
[ROCm/amdsmi commit: 463817f344]
This commit is contained in:
@@ -161,12 +161,13 @@ class AMDSMICommands():
|
||||
except amdsmi_exception.AmdSmiLibraryException as e:
|
||||
uuid = e.get_error_info()
|
||||
|
||||
# Store values based on format
|
||||
if self.logger.is_human_readable_format():
|
||||
self.logger.store_output(args.gpu, 'AMDSMI_SPACING_REMOVAL', {'gpu_bdf':bdf, 'gpu_uuid':uuid})
|
||||
else:
|
||||
# CSV format is intentionally aligned with Host
|
||||
if self.logger.is_csv_format():
|
||||
self.logger.store_output(args.gpu, 'gpu_bdf', bdf)
|
||||
self.logger.store_output(args.gpu, 'gpu_uuid', uuid)
|
||||
else:
|
||||
self.logger.store_output(args.gpu, 'bdf', bdf)
|
||||
self.logger.store_output(args.gpu, 'uuid', uuid)
|
||||
|
||||
if multiple_devices:
|
||||
self.logger.store_multiple_device_output()
|
||||
|
||||
Reference in New Issue
Block a user