2
0

trace parameters fix

Change-Id: I5cd8c897b9982f9abc9e36c18a4a488bd65fbd30


[ROCm/rocprofiler commit: 389cb50854]
Este cometimento está contido em:
Evgeny
2019-12-10 04:33:29 -06:00
ascendente 338d2d70da
cometimento 67b1e9af0d
+1
Ver ficheiro
@@ -1019,6 +1019,7 @@ extern "C" PUBLIC_API void OnLoadToolProp(rocprofiler_settings_t* settings)
auto it = entry->opts.find("name");
if (it == entry->opts.end()) fatal("ROCProfiler: trace name is missing");
const std::string& name = it->second;
if ((name != "SQTT") && (name != "SPM")) break;
if (name == "SPM") is_spm_trace = true;
traces_found++;