summaryrefslogtreecommitdiffstats
path: root/src/corelib/qt_cmdline.cmake
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2022-10-24 11:30:56 +0300
committerAntti Määttä <antti.maatta@qt.io>2023-01-13 12:43:46 +0200
commite3458aac6406e5b624cd54e28b5784fb09f07bc3 (patch)
tree7d91c7015b03d984a78f6ceb90ae82a89611d887 /src/corelib/qt_cmdline.cmake
parenta37a59eea8b010c45da1722a005946a2450363b3 (diff)
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/corelib/qt_cmdline.cmake')
-rw-r--r--src/corelib/qt_cmdline.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/qt_cmdline.cmake b/src/corelib/qt_cmdline.cmake
index c82d77a60d..fecc43cce6 100644
--- a/src/corelib/qt_cmdline.cmake
+++ b/src/corelib/qt_cmdline.cmake
@@ -15,4 +15,4 @@ qt_commandline_option(posix-ipc TYPE boolean NAME ipc_posix)
qt_commandline_option(pps TYPE boolean NAME qqnx_pps)
qt_commandline_option(slog2 TYPE boolean)
qt_commandline_option(syslog TYPE boolean)
-qt_commandline_option(trace TYPE optionalString VALUES etw lttng no yes)
+qt_commandline_option(trace TYPE optionalString VALUES etw lttng ctf no yes)