diff options
author | Antti Määttä <antti.maatta@qt.io> | 2022-10-24 11:30:56 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2023-01-13 12:43:46 +0200 |
commit | e3458aac6406e5b624cd54e28b5784fb09f07bc3 (patch) | |
tree | 7d91c7015b03d984a78f6ceb90ae82a89611d887 /src/CMakeLists.txt | |
parent | a37a59eea8b010c45da1722a005946a2450363b3 (diff) | |
download | qtbase-e3458aac6406e5b624cd54e28b5784fb09f07bc3.tar.gz |
Add CTF tracing backend
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
Pick-to: 6.5
Change-Id: I80711be52d4d48e1acbc72edffbdf3f379fce52a
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 87232fc664..52371c84bf 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,6 +45,9 @@ endif() qt_install_3rdparty_library_wrap_config_extra_file(BundledZLIB) add_subdirectory(corelib) +if (QT_FEATURE_ctf AND QT_FEATURE_library) + add_subdirectory(corelib/tracing) +endif() # Needs to be after corelib, because some of them reference Core. add_subdirectory(3rdparty) |