aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler/perfevent.h
Commit message (Collapse)AuthorAgeFilesLines
* PerfProfiler: Use QList instead of QVectorhjk2025-04-101-9/+8
| | | | | Change-Id: Icfb6e6a3f79e1cbbd1e6f830242c7ce888d6e1c1 Reviewed-by: Christian Stenger <[email protected]>
* PerfProfiler: More cleanupJarek Kobus2025-03-031-6/+4
| | | | | | | | | | Simplify nested namespaces. Clean some Q_OBJECT macros. Remove some unused includes. Use more forward declarations. Change-Id: I1926f4da143fd581988e9b94e4ab8b81f95c9f6b Reviewed-by: hjk <[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]>
* 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]>
* PerfProfiler: Fail more gracefully on unrecognized featuresUlf Hermann2022-07-291-2/+3
| | | | | | | | | The perf events are external data. We should not (soft) assert on them. Change-Id: Id2a72c4f95988095c7f52e8db49cc3398712e94a Reviewed-by: <[email protected]> Reviewed-by: Milian Wolff <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Tracing/QmlProfiler/CtfVisualizer/PerfProfiler: Compile with Qt 6Alessandro Portale2021-06-091-0/+1
| | | | | | | | | | | | | | | | | | | This makes the tracing lib, its tests and the three plugins which depend on the lib compile with Qt 6. The rectangles are not yet shown most likely because some OpenGL specific code was #ifdef-ed for Qt 6. That code needs to be reimplemented on top of the new Scenegraph API, using the RHI instead of direct OpenGL in a follow-up patch. An assertion failure in QQuickWidget::createFramebufferObject() needs to be fixed as-well. The code still builds and runs assertion free (and the autotests pass) when built against Qt 5. Task-number: QTCREATORBUG-20575 Change-Id: I47ebb477823de2f0d27329dac7c292a466cea1d7 Reviewed-by: Ulf Hermann <[email protected]>
* PerfProfiler: Guard against some malformed inputUlf Hermann2019-05-081-1/+1
| | | | | | | | | If there is no attribute we actually set the attribute to be the invalid one. Therefore an entry for the invalid attribute should exist. Also, cycles in the parent location IDs need to be avoided. Change-Id: Id1962744ef476ddad737cf108d9f9ab83a4eaf55 Reviewed-by: Milian Wolff <[email protected]>
* PerfProfiler: Save and load CPU id for eventsUlf Hermann2019-05-081-2/+4
| | | | | Change-Id: Ieafbb391fb3383e96790dfa2f222d48aecec21a2 Reviewed-by: Milian Wolff <[email protected]>
* PerfProfiler: Support multiple attributes per sampleUlf Hermann2019-05-081-9/+17
| | | | | | Change-Id: I0c457eb05a354588eab25bbfde9e3470183fe9d3 Reviewed-by: Milian Wolff <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* PerfProfiler: Remove backwards compatibility supportUlf Hermann2019-05-081-36/+13
| | | | | | | | | | | | | | | Define a new file extension, new file magic, and remove support for the old data format. You won't be able to load traces generated with older Qt Creators in 4.10 anymore and you won't be able to use older perfparsers with Qt Creator 4.10. On the flip side, we can move along more quickly now and integrate features from KDAB's perfparser. This is to be preferred because the maintenance of two different perfparsers is quite a burden. Change-Id: I69918eadc3294abfbb0b809a54c3c9f25405409a Reviewed-by: Christian Kandeler <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* PerfProfiler: Add rudimentary support grouped samplesUlf Hermann2019-05-071-13/+40
| | | | | Change-Id: Ic4f35576215e42f6b138dea890a0095635822e2d Reviewed-by: Milian Wolff <[email protected]>
* PerfProfiler: Support context switch eventsUlf Hermann2019-05-021-1/+16
| | | | | Change-Id: I328b518cc3674ee26975edf26d40057ceb2c21a2 Reviewed-by: Milian Wolff <[email protected]>
* Add basic support for new AttributesDefinitionUlf Hermann2019-05-021-0/+1
| | | | | | | We read the attributes, but don't use the new data, yet. Change-Id: Idb983dee60b76ae8f22375e9070042660cf5e612 Reviewed-by: Milian Wolff <[email protected]>
* Add PerfProfiler pluginUlf Hermann2018-12-181-0/+176
This moves the previously commercial PerfProfiler plugin into QtCreator. Task-number: QTCREATORBUG-21344 Change-Id: I41f4a9451c2fe8ff4e1108e07db2e72e8c613c43 Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Alessandro Portale <[email protected]>