From 67b1e9af0d221ea581fda14a5f90b610a6df501c Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 10 Dec 2019 04:33:29 -0600 Subject: [PATCH] trace parameters fix Change-Id: I5cd8c897b9982f9abc9e36c18a4a488bd65fbd30 [ROCm/rocprofiler commit: 389cb508540de2038116bd5a971be56177758858] --- projects/rocprofiler/test/tool/tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rocprofiler/test/tool/tool.cpp b/projects/rocprofiler/test/tool/tool.cpp index d26f17d8a3..02cbb62411 100644 --- a/projects/rocprofiler/test/tool/tool.cpp +++ b/projects/rocprofiler/test/tool/tool.cpp @@ -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++;