Introduce perf profiler run mode

Change-Id: I6e53dae3ba42e938b418a6657e677953cf7da4e9
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-01-28 19:13:30 +01:00
parent 45e544b442
commit 98ccd012af
4 changed files with 5 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ RunControl *AndroidRunControlFactory::create(RunConfiguration *runConfig,
case MemcheckRunMode: case MemcheckRunMode:
case MemcheckWithGdbRunMode: case MemcheckWithGdbRunMode:
case ClangStaticAnalyzerMode: case ClangStaticAnalyzerMode:
case PerfProfilerRunMode:
QTC_CHECK(false); // The other run modes are not supported QTC_CHECK(false); // The other run modes are not supported
} }
return 0; return 0;

View File

@@ -275,7 +275,8 @@ enum RunMode {
CallgrindRunMode, CallgrindRunMode,
MemcheckRunMode, MemcheckRunMode,
MemcheckWithGdbRunMode, MemcheckWithGdbRunMode,
ClangStaticAnalyzerMode ClangStaticAnalyzerMode,
PerfProfilerRunMode
}; };
} // namespace ProjectExplorer } // namespace ProjectExplorer

View File

@@ -196,6 +196,7 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished())); connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
return runControl; return runControl;
} }
case PerfProfilerRunMode:
case NoRunMode: case NoRunMode:
case CallgrindRunMode: case CallgrindRunMode:
case MemcheckRunMode: case MemcheckRunMode:

View File

@@ -124,6 +124,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished())); connect(runControl, SIGNAL(finished()), analyzeSupport, SLOT(handleProfilingFinished()));
return runControl; return runControl;
} }
case PerfProfilerRunMode:
case NoRunMode: case NoRunMode:
case CallgrindRunMode: case CallgrindRunMode:
case MemcheckRunMode: case MemcheckRunMode: