Fix ROCPROFSYS_AMD_SMI_METRICS parsing (#178)

Fixes a bug where all the `ROCPROFSYSE_AMD_SMI_METRICS` values were being recorded by default.
Fixes bug with the 'all' and 'none' values giving an exception when specified for `ROCPROFSYSE_AMD_SMI_METRICS`.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 8d48048bd3]
Dieser Commit ist enthalten in:
anujshuk-amdundDavid Galiffi verfasst und GitHub committed 2025-04-28 09:22:20 -04:00
1 Ursprung 395bf369fc
Commit 35b8748c20
3 Dateien geändert
+29 -23

Keine Dateien entsprechen Ihrer Suche

@@ -623,7 +623,8 @@ configure_settings(bool _init)
ROCPROFSYS_CONFIG_SETTING(std::string, "ROCPROFSYS_AMD_SMI_METRICS",
"amd-smi metrics to collect: busy, temp, power, "
"vcn_activity, jpeg_activity, mem_usage",
"vcn_activity, jpeg_activity, mem_usage."
"An empty value implies 'all' and 'none' suppresses all.",
"busy, temp, power, mem_usage", "backend", "amd_smi",
"rocm", "process_sampling", "advanced");