aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind/callgrindtool.h
Commit message (Collapse)AuthorAgeFilesLines
* Valgrind: Move CallgrindToolRunner into callgrindtool.cppJarek Kobus2025-02-181-10/+0
| | | | | | | Hide some global functions inside cpp. Change-Id: Id43916995451a18f7a2701bbeadd661db219c46b Reviewed-by: hjk <[email protected]>
* Valgrind: Move controller functionality into CallgrindToolJarek Kobus2025-02-181-0/+10
| | | | | | | | Move it outside of CallgrindToolRunner, as this functionality isn't really related to the RunWorker's subclass. Change-Id: Ib83a56667eb149513d6960ae84a2586501067e48 Reviewed-by: hjk <[email protected]>
* Valgrind: Use new setup patternhjk2023-12-041-6/+3
| | | | | Change-Id: I7f2651d12a80d56f6a4be63c5c63eba0ad3a4447 Reviewed-by: Christian Stenger <[email protected]>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <[email protected]>
* Valgrind: Use named classes for run worker factorieshjk2023-01-061-6/+2
| | | | | | Change-Id: I05009aa2fe4541e10fa56a3a095db030e18b79b5 Reviewed-by: Christian Stenger <[email protected]> Reviewed-by: <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <[email protected]>
* Valgrind: Use Tr::trhjk2022-07-111-6/+2
| | | | | Change-Id: I77b27462d88079699e620ef459f951846c15c3e2 Reviewed-by: Eike Ziller <[email protected]>
* Add final specifies to classesIgor Sidorov2020-02-051-1/+1
| | | | | | | Warning -Wfinal-dtor-non-final-class in clang trunk Change-Id: I2bf17064bf8898eab10b82b69583a283157766d0 Reviewed-by: Eike Ziller <[email protected]>
* Valgrind: Restructure plugin setuphjk2019-03-251-2/+12
| | | | | | | | | Bring it more in line with the standard pattern. Plus some cosmetics. Change-Id: I2297c4e72892db386c50ece7dc64bdc89f0d9010 Reviewed-by: Christian Stenger <[email protected]>
* Valgrind: Split MemCheck and CallGrind factorieshjk2016-05-101-13/+1
| | | | | | | | The tools are separated everywhere, lumping them into the same RunControlFactory removes modularity artificially. Change-Id: I8d9e917bb114a1898a0c293f18d3bf78a52075aa Reviewed-by: Christian Stenger <[email protected]>
* Wholesale conversion to #pragma oncehjk2016-03-301-4/+1
| | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <[email protected]>
* Valgrind: Clean up tools interface a bithjk2016-03-021-21/+2
| | | | | | | | Mainly move tool specific code from plugin.cpp to *tool.cpp. Clean up includes etc. Change-Id: Ic968ead9d93099c59abe9f99a9db529305160f95 Reviewed-by: Christian Stenger <[email protected]>
* Debugger: Remove return value from AnalyzerManager::createDockWidget()hjk2016-03-021-8/+7
| | | | | Change-Id: If6cd2a68f2f99a1977ded0f05a12790194143274 Reviewed-by: Christian Stenger <[email protected]>
* Analyzer: Rework the dock widget layout generationhjk2016-02-291-2/+9
| | | | | | | | | | Decouple layout generation from widget generation and separate analyzer action description from menu action creation. Tool specific layouts are named "Perspective" now. Change-Id: I774efe77a07640c4cc26e4e566662c8a673c8831 Reviewed-by: Christian Stenger <[email protected]>
* Move analyzerbase to debuggerhjk2016-02-251-1/+1
| | | | | | | | | | | | This is the first mechanical step to execute on the 'shared pool of debugger/analyzer views' idea. Future steps would be providing infrastructure for the view pool, making all analyzer/debugger views use the pool and then re-extract a sensible base for a 'analyzer-and/or-debugger' tool plugin interface. Change-Id: I1bb392e6dd3084fc56937956bee1d6fd9530335d Reviewed-by: Eike Ziller <[email protected]>
* Valgrind: Simplify device setup and handlinghjk2016-02-021-1/+1
| | | | | | | | Make isLocal() less intrusively used and correct. Use the stored device more often, also handle errors more quickly. Change-Id: I146d1f5788ea79d0a9d7b058c81908d451cf00d0 Reviewed-by: Christian Kandeler <[email protected]>
* Valgrind: Random cleanupshjk2016-01-211-1/+0
| | | | | | | Remove unneeded function arguments, Qt 5 connects etc. Change-Id: I95faf80e7b5ccc574e2457b841f7913bc2aa05d3 Reviewed-by: Christian Stenger <[email protected]>
* Analyzer: Remove AnalyzerStartParameters from AnalyzerRunControl ctorhjk2016-01-201-2/+1
| | | | | Change-Id: I0f7e982a9144469869e0c42daedfb411789511ca Reviewed-by: Tobias Hunger <[email protected]>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <[email protected]>
* ProjectExplorer: Use Core::Id as RunMode "enum values"BogDan Vatra2015-06-301-0/+2
| | | | | | | | | | | | | This provides a way for third-party plugins to implement run modes without the need to add a value to the central enum or using manual workarounds like RunMode(*(int*)&someUniqueObject). Instead of centrally defined enum values this uses Core::Id that could be defined anywhere. Change-Id: Ic350e3d8dbb8042c61b2d4ffec993ca151f53099 Reviewed-by: Daniel Teske <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Valgrind: Start custom actions more directlyhjk2015-06-191-1/+2
| | | | | | | This does not need to go through the PE machinery. Change-Id: If0b2fde5309d7e119e8ac27245a22939b68d847d Reviewed-by: Christian Stenger <[email protected]>
* Analyzer: Move tool startup code closer to the action setuphjk2015-06-181-3/+0
| | | | | | | | | The code sharing in the base was along a somewhat unfortunate boundary. Moving it into the only user also removes some of the wrong local/remote separation. Change-Id: I0be9636ea448d123f9f5105a52d56f47ff7871c3 Reviewed-by: Ulf Hermann <[email protected]>
* Analyzer: Reduce explicit use of StartMode enumhjk2015-02-201-1/+2
| | | | | Change-Id: I27b1d06395dea940c8dd39cd2bd41fc09cee3a9c Reviewed-by: Christian Stenger <[email protected]>
* Analyzers: Various cleanupshjk2015-02-191-0/+2
| | | | | | | Fallout after the demise of IAnalizerTool. Change-Id: I68f936ed5f2929dc4f09a408bdf6b0ea38e568ef Reviewed-by: Christian Stenger <[email protected]>
* Analyzer: Dissolve IAnalyzerToolhjk2015-02-181-1/+3
| | | | | Change-Id: I1fd90cf00d6b9dff54b4555a14747282830a4b93 Reviewed-by: Christian Stenger <[email protected]>
* Valgrind: Dissolve ValgrindTool hierarchy levelhjk2015-02-181-2/+2
| | | | | | | | Medium term all *Tool should be replaced by RunControl(Factory) to make the analyzer architecture more similar to Qt Creator core Change-Id: I892cfc7fe45c73cc6ac4442a288810b83cb24c17 Reviewed-by: Christian Stenger <[email protected]>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <[email protected]>
* Valgrind: Callgrind log is not XML #2Orgad Shaneh2014-11-051-1/+0
| | | | | | | Complements commit 1840a89aff3c439af74af11ab46d9d1cef69aec0 Change-Id: Idf09e77ae766aa43683ffaf0a7aa108f4b41d705 Reviewed-by: hjk <[email protected]>
* Merge remote-tracking branch 'origin/3.2'Eike Ziller2014-10-141-7/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/ipaddresslineedit.cpp src/libs/utils/logging.h src/plugins/analyzerbase/AnalyzerBase.pluginspec.in src/plugins/android/Android.pluginspec.in src/plugins/android/androiddeploystep.cpp src/plugins/android/androiddeploystep.h src/plugins/android/androiddeploystepfactory.cpp src/plugins/android/androiddeploystepwidget.cpp src/plugins/android/androidpackagecreationfactory.cpp src/plugins/android/androidpackagecreationstep.cpp src/plugins/android/androidpackagecreationstep.h src/plugins/android/androidpackagecreationwidget.cpp src/plugins/android/androidpackagecreationwidget.h src/plugins/android/javafilewizard.cpp src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/baremetal/BareMetal.pluginspec.in src/plugins/bazaar/Bazaar.pluginspec.in src/plugins/beautifier/Beautifier.pluginspec.in src/plugins/bineditor/BinEditor.pluginspec.in src/plugins/bookmarks/Bookmarks.pluginspec.in src/plugins/clangcodemodel/ClangCodeModel.pluginspec.in src/plugins/clangcodemodel/clanghighlightingsupport.cpp src/plugins/clangcodemodel/clangsymbolsearcher.cpp src/plugins/classview/ClassView.pluginspec.in src/plugins/clearcase/ClearCase.pluginspec.in src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp src/plugins/cmakeprojectmanager/cmakehighlighter.cpp src/plugins/coreplugin/Core.pluginspec.in src/plugins/cpaster/CodePaster.pluginspec.in src/plugins/cppeditor/CppEditor.pluginspec.in src/plugins/cppeditor/cppfilewizard.cpp src/plugins/cpptools/CppTools.pluginspec.in src/plugins/cpptools/cpphighlightingsupportinternal.cpp src/plugins/cpptools/cppmodelmanagerinterface.cpp src/plugins/cpptools/cppmodelmanagerinterface.h src/plugins/cvs/CVS.pluginspec.in src/plugins/debugger/Debugger.pluginspec.in src/plugins/designer/Designer.pluginspec.in src/plugins/diffeditor/DiffEditor.pluginspec.in src/plugins/emacskeys/EmacsKeys.pluginspec.in src/plugins/fakevim/FakeVim.pluginspec.in src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in src/plugins/git/Git.pluginspec.in src/plugins/git/gitorious/gitorious.cpp src/plugins/git/gitorious/gitorious.h src/plugins/git/gitorious/gitoriousclonewizard.cpp src/plugins/git/gitorious/gitorioushostwidget.cpp src/plugins/git/gitorious/gitorioushostwidget.h src/plugins/git/gitorious/gitorioushostwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwidget.cpp src/plugins/git/gitorious/gitoriousprojectwidget.h src/plugins/git/gitorious/gitoriousprojectwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwizardpage.h src/plugins/git/gitorious/gitoriousrepositorywizardpage.cpp src/plugins/git/gitorious/gitoriousrepositorywizardpage.h src/plugins/glsleditor/GLSLEditor.pluginspec.in src/plugins/glsleditor/glsleditorfactory.cpp src/plugins/glsleditor/glslfilewizard.cpp src/plugins/helloworld/HelloWorld.pluginspec.in src/plugins/help/Help.pluginspec.in src/plugins/imageviewer/ImageViewer.pluginspec.in src/plugins/ios/Ios.pluginspec.in src/plugins/macros/Macros.pluginspec.in src/plugins/mercurial/Mercurial.pluginspec.in src/plugins/perforce/Perforce.pluginspec.in src/plugins/projectexplorer/ProjectExplorer.pluginspec.in src/plugins/pythoneditor/PythonEditor.pluginspec.in src/plugins/pythoneditor/pythoneditorwidget.cpp src/plugins/pythoneditor/wizard/pythonfilewizard.cpp src/plugins/qbsprojectmanager/QbsProjectManager.pluginspec.in src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp src/plugins/qmakeprojectmanager/QmakeProjectManager.pluginspec.in src/plugins/qmakeprojectmanager/profileeditorfactory.cpp src/plugins/qmldesigner/QmlDesigner.pluginspec.in src/plugins/qmljseditor/QmlJSEditor.pluginspec.in src/plugins/qmljseditor/qmljseditorfactory.cpp src/plugins/qmljstools/QmlJSTools.pluginspec.in src/plugins/qmlprofiler/QmlProfiler.pluginspec.in src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in src/plugins/qnx/Qnx.pluginspec.in src/plugins/qtsupport/QtSupport.pluginspec.in src/plugins/remotelinux/RemoteLinux.pluginspec.in src/plugins/resourceeditor/ResourceEditor.pluginspec.in src/plugins/resourceeditor/resourcewizard.h src/plugins/subversion/Subversion.pluginspec.in src/plugins/tasklist/TaskList.pluginspec.in src/plugins/texteditor/TextEditor.pluginspec.in src/plugins/texteditor/basetexteditor_p.h src/plugins/texteditor/basetextmark.cpp src/plugins/texteditor/codeassist/basicproposalitemlistmodel.h src/plugins/texteditor/codeassist/defaultassistinterface.h src/plugins/texteditor/codeassist/iassistproposalitem.cpp src/plugins/texteditor/itexteditor.cpp src/plugins/texteditor/itexteditor.h src/plugins/texteditor/itextmark.cpp src/plugins/texteditor/plaintexteditor.cpp src/plugins/texteditor/plaintexteditor.h src/plugins/texteditor/texteditoractionhandler.cpp src/plugins/todo/Todo.pluginspec.in src/plugins/updateinfo/UpdateInfo.pluginspec.in src/plugins/valgrind/Valgrind.pluginspec.in src/plugins/vcsbase/VcsBase.pluginspec.in src/plugins/welcome/Welcome.pluginspec.in src/plugins/winrt/WinRt.pluginspec.in tests/auto/debugger/temporarydir.h Change-Id: I254af8be8119fe9855287909e17d4b8ca9d2fc2f
| * License updateEike Ziller2014-10-091-7/+8
| | | | | | | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <[email protected]>
* | AnalyzerTool: Make runMode and toolMode value membershjk2014-07-231-3/+0
|/ | | | | Change-Id: Iaf89bc399db65e17345effb2e9767692786b5ca8 Reviewed-by: Christian Stenger <[email protected]>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <[email protected]> Reviewed-by: Kai Koehne <[email protected]>
* Valgrind: Add action to load external log fileNikolai Kosjar2013-09-111-0/+1
| | | | | | | | | ...for the memcheck and callgrind tool. Task-number: QTCREATORBUG-10057 Change-Id: I23dd3ad47f0498af37787bf54e76b09852cb327c Reviewed-by: hjk <[email protected]>
* Analyzer: Move extensionInitialized() out of IAnalyzerToolhjk2013-08-121-2/+3
| | | | | Change-Id: Idd0913ba798a04f65711591dee14cbb714440cbf Reviewed-by: Aurindam Jana <[email protected]>
* Analyzer: Introduce AnalzyerActionhjk2013-08-081-3/+0
| | | | | | | This wraps the menu related aspects of an IAnalyzerTool. Change-Id: I065cb5f269a40af2137f434a7cdf915bd9a76839 Reviewed-by: Christiaan Janssen <[email protected]>
* Analyzer: Re-introduce ValgrindTool levelhjk2013-08-081-2/+2
| | | | | | | | | This partially reverts 1fb755bb42. It turns out that this is a better place to have the valgrind specific startLocal/startRemote logic shared by the valgrind tools. Change-Id: I1638b6d7665db81227e0a1a9aeef1ce944449391 Reviewed-by: Aurindam Jana <[email protected]>
* Analyzer: Remove some explicit uses of Analyzer::StartModehjk2013-08-051-1/+0
| | | | | Change-Id: I6d28a533d4ee2e93e4b3407e7fdd670c45886708 Reviewed-by: Aurindam Jana <[email protected]>
* IAnalyzerTool: actionId() is re-implemented in derived classesAurindam Jana2013-08-051-0/+1
| | | | | | Change-Id: I5a0a485e239eeb33a9d8ad8cfd0f9cc40e1ff6d2 Reviewed-by: Aurindam Jana <[email protected]> Reviewed-by: hjk <[email protected]>
* Analyzer: Remove IAnalyzerTool::canRunhjk2013-08-011-1/+0
| | | | | | | That's taken care of the run control factories directly now Change-Id: I1cd7470e78a93459bee878f5e32594e7cf339a91 Reviewed-by: Aurindam Jana <[email protected]>
* Analyzer: Merge IAnalyzerEngine and AnalyzerRunControlhjk2013-08-011-1/+1
| | | | | Change-Id: I74edaef59600a44924d2692c1ebc7f98d8581115 Reviewed-by: Christiaan Janssen <[email protected]>
* Analyzer: Remove intermediate "ValgrindTool" inheritance levelhjk2013-08-011-2/+3
| | | | | | | It's an empty shell nowadays. Change-Id: I661735eccf035b58cc405905a58bd74e787e6abc Reviewed-by: Aurindam Jana <[email protected]>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <[email protected]>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <[email protected]>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <[email protected]>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <[email protected]>
* ProjectExplorer: use enum instead of QString for run modehjk2012-01-111-0/+1
| | | | | | Change-Id: Ia906944a489b09afdea59f74afbf759b4caebe37 Reviewed-by: Aurindam Jana <[email protected]> Reviewed-by: Daniel Teske <[email protected]>
* Analyzer: create a run control factory for all tools.Nicolas Arnaud-Cormos2011-12-281-2/+2
| | | | | | | | | | | | | | Having one factory per tool (or plugin) created some bugs: * analyzer project settings being created twice * per-project analyzer settings widget duplicated Also, most of the code from the run control factory were copied. Now, the Analyzer only creates one run control factory shared among all tools, and the IAnalyzerTool has two new virtual method: canRun and createStartParameters. It simplify the code a bit, and creating a new analyzer tool is easier (only two classes to subclass: IAnalyzerTool and IAnalyzerEngine). Change-Id: I4e180846a26b74b2b77cb99bc97534d680a80a4d Reviewed-by: hjk <[email protected]>
* mostly core and analyzer: more id-ficationhjk2011-11-151-1/+1
| | | | | Change-Id: Ic794fdc6a582f4a03d84b6220c59111044c753b9 Reviewed-by: hjk <[email protected]>
* all: s/[email protected]/[email protected]/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <[email protected]>
* analyzer: remove unneeded function declarationhjk2011-07-071-1/+0
| | | | | | | Change-Id: Iffee3a32a711085a4904e743a18d875306a4e546 Reviewed-on: http://codereview.qt.nokia.com/1289 Reviewed-by: Qt Sanity Bot <[email protected]> Reviewed-by: hjk <[email protected]>