summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets.pro
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2018-05-09 20:52:29 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2018-06-28 20:40:33 +0000
commitdbcaa6d01ed6fd510f8b36bbe69fc1c9d8e21d88 (patch)
tree39b531e90e0d717562705db6ca68172b3e31d4f1 /src/widgets/widgets.pro
parent5e39b832e23889af0a5d39586fd3ccf0b1882667 (diff)
Tracepoints: add tracing for QEvents
Add tracepoints in all the main codepaths for event handling: * QEvent ctors/dtor * QCoreApplication::postEvent, sendEvent and sendSpontaneousEvent * QCoreApplication / QApplication::notify, and around the handling of event filters as well I'm switching the name of the tracepoints themselves to have the very same casing of the functions in Qt's own source code, this improves readability a lot. The pre-existing ones will be changed in an upcoming patch. Change-Id: Iae2ba2bfdd76a82c85445bb5b86434e910427a70 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/widgets/widgets.pro')
-rw-r--r--src/widgets/widgets.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro
index e028a691c8..e556cb8b10 100644
--- a/src/widgets/widgets.pro
+++ b/src/widgets/widgets.pro
@@ -6,6 +6,9 @@ CONFIG += $$MODULE_CONFIG
DEFINES += QT_NO_USING_NAMESPACE
msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x65000000
+TRACEPOINT_PROVIDER = $$PWD/qtwidgets.tracepoints
+CONFIG += qt_tracepoints
+
QMAKE_DOCS = $$PWD/doc/qtwidgets.qdocconf
#platforms