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 MemcheckWithGdbRunMode:
case ClangStaticAnalyzerMode:
case PerfProfilerRunMode:
QTC_CHECK(false); // The other run modes are not supported
}
return 0;

View File

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

View File

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

View File

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