summaryrefslogtreecommitdiffstats
path: root/src/tools/tracegen/ctf.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update commercial SPDX-License-Identifier"v6.5.5-lts-lgplTarja Sundqvist2025-06-101-1/+1
| | | | | | | | | This reverts commit 4c16c8afb37f0b4cbcfb37d47baf6fc29e42c7b7. The revert is needed for the opensource releases which cannot contain commercial license headers. Change-Id: I0caa255093ecf406978de958cd3810bc9f80121e Reviewed-by: Jani Heikkinen <[email protected]> (cherry picked from commit 5d8e9a8415562ba004b38508d91e1fa0254c17d3)
* Update commercial SPDX-License-IdentifierTarja Sundqvist2023-12-111-1/+1
| | | | | | | | | | | | Some files in tqtc-qtbase were missing the commercial SPDX-License-Identifier. Build files, examples, tests, or documentation are not updated. Task-number: QTQAINFRA-5900 Change-Id: I28b9c03a0e62f2b2ce1c9edbe13921f4146a0924 Reviewed-by: Volker Hilsheimer <[email protected]> (cherry picked from commit ffb7d2e3205cc75337ba9ed93d12222e27c3abc1) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
* CTF: Remove extraneous semicolon in metadataAntti Määttä2023-05-181-1/+1
| | | | | | | | | Removes extra semicolon from floating point array metadata. Change-Id: If3e8b8097ff0c08c1f1f84cadbe389c7f7a2b1aa Reviewed-by: Janne Koskinen <[email protected]> (cherry picked from commit d5f5f1a42a8bdeaffa5fd0085f38068847a2f676) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
* tracegen: Add common prologueAntti Määttä2023-04-261-0/+1
| | | | | | | | | | | Add common prologue and add error message when tracing is used in a module that doesn't have Q_TRACEPOINT enabled, but tracing is enabled. Change-Id: I64ca074942f6e89b4f5b5e3b6048b2b713c06df8 Reviewed-by: Tomi Korpipää <[email protected]> Reviewed-by: Janne Koskinen <[email protected]> (cherry picked from commit 257b3161c5c5e46cd040371da77cb6a06987cf50) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
* tracegen: Add support for QSizeF and QRectF typesAntti Määttä2023-02-201-0/+12
| | | | | | | Change-Id: Ie19523b84026312c3d5a597914abc2622dba3f68 Reviewed-by: Antti Määttä <[email protected]> Reviewed-by: Tomi Korpipää <[email protected]> (cherry picked from commit 0510307ea1bfe2a1788738acb61890587e75dd5e)
* tracegen: Fix handling enumerators with duplicate valuesAntti Määttä2023-02-201-6/+23
| | | | | | | | | | Aggregate the names of the same value enumerators. The values can also be hexadecimal so handle them also. Change-Id: I89693d7e3b8f6c051b298401dcbe8a9f5c0a38aa Reviewed-by: Antti Määttä <[email protected]> Reviewed-by: Tomi Korpipää <[email protected]> (cherry picked from commit 83effb3a3f6bf73e682f7a9ccedebf4073ade776)
* CTF: Move event metadata generation to the wrapperAntti Määttä2023-02-101-74/+143
| | | | | | | | | | | | This fixes the metadata generation when cross compiling. The metadata needs to be generated based on the type info of the target. Currently the metadata is generated in the tool based on the host type info. Task-number: QTBUG-110270 Change-Id: Ibcdcbd690620afc532d6007cf036229342bdcc31 Reviewed-by: Volker Hilsheimer <[email protected]> (cherry picked from commit c5d4c9345bc5a8d146592a7b933242fcf22358ef) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
* CTF: Remove irrelevant commentAntti Määttä2023-01-251-1/+0
| | | | | | | | | Remove comment about lttng not relevant to ctf backend. Change-Id: I4d4432b1075a27d024db38a3cdd7807a1e94e7ec Reviewed-by: Tomi Korpipää <[email protected]> (cherry picked from commit 86398b477bd38d35a411b4439f9da59c10f30eef) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
* Add CTF tracing backendAntti Määttä2023-01-141-0/+278
Implement platform independent tracing backend in Common trace format. This allows tracing in platforms without own/existing backend and analysing all platforms with the same tooling. The backend is the basis for further work in application level profiling area. The backend is implemented as a plugin that is loaded immediately when the application starts in order to process all trace events. The backend avoids using Qt classes so that it doesn't generate trace events itself. Adds plumbing to configure the new backend. Modifies the tracegen and tracepointgen tools to support the new backend. Task-number: QTBUG-106399 Change-Id: I80711be52d4d48e1acbc72edffbdf3f379fce52a Reviewed-by: Tomi Korpipää <[email protected]> (cherry picked from commit e3458aac6406e5b624cd54e28b5784fb09f07bc3) Reviewed-by: Antti Määttä <[email protected]>