From 1ac6bc27a62ee682a813b7e839b0cc909eca753a Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 17 Feb 2025 12:58:49 +0100 Subject: [PATCH] Perf: White-list supported device types It's not supported on QNX, so we should not try to use it. Change-Id: I73bbbf2e7f9b4a197094da283d72503d06ce0544 Reviewed-by: Jarek Kobus --- src/plugins/perfprofiler/perfprofilerruncontrol.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp index 73c3d8b34aa..586d4472bdb 100644 --- a/src/plugins/perfprofiler/perfprofilerruncontrol.cpp +++ b/src/plugins/perfprofiler/perfprofilerruncontrol.cpp @@ -163,6 +163,10 @@ public: return perfParserWorker; }); addSupportedRunMode(ProjectExplorer::Constants::PERFPROFILER_RUN_MODE); + addSupportForLocalRunConfigs(); + addSupportedDeviceType(RemoteLinux::Constants::GenericLinuxOsType); + addSupportedDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE); + addSupportedDeviceType("DockerDeviceType"); } };