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]
Этот коммит содержится в:
1 родитель
395bf369fc
Коммит
35b8748c20
3 files changed
+29
-23
No files matched your search
@@ -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