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>
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user