[SWDEV-512393] Print keys of lists in custom_dump
The custom_dump function was not printing list's key
and so static numa was not displaying list keys
CPU affinity and Socket affinity. Updated custom_dump
to print the keys.
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
[ROCm/amdsmi commit: 6fbda16098]
Этот коммит содержится в:
коммит произвёл
Arif, Maisam
родитель
48ed5787a6
Коммит
cd709e93d1
@@ -325,7 +325,7 @@ class AMDSMILogger():
|
||||
elif isinstance(value, list):
|
||||
if not value:
|
||||
yaml_string += " " * indent + f"{key}: N/A\n"
|
||||
elif isinstance(value, dict):
|
||||
else:
|
||||
yaml_string += " " * indent + f"{key}:\n"
|
||||
for item in value:
|
||||
if isinstance(item, dict):
|
||||
|
||||
Ссылка в новой задаче
Block a user