summaryrefslogtreecommitdiffstats
path: root/src/gui/qtgui.tracepoints
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2019-04-26 15:21:12 +0200
committerMilian Wolff <milian.wolff@kdab.com>2019-04-30 07:42:19 +0000
commit75c0c026414239919603d6a5a35e333f257368c9 (patch)
tree900ac21174b625fadb60982cc7112e92b0c10264 /src/gui/qtgui.tracepoints
parente5eaae100b35d97f22a388831a5b9cd712053f3f (diff)
Don't pass scope args to _exit trace points
When we trace a scope, then we pass the scope args to the _entry trace point. There is no need to do that also for the _exit trace points, it just blows up the trace data for no obvious gain. Any decent tracing consumer can easily find the args for the _exit call by matching it to its _entry call. Note that this is standard practice in trace points, and also done like this in the Linux Kernel trace points for example. Change-Id: I273293b0c7e799767acc1960b50ab675fc765a36 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/qtgui.tracepoints')
-rw-r--r--src/gui/qtgui.tracepoints2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/qtgui.tracepoints b/src/gui/qtgui.tracepoints
index 0a96a589b1..52916a3aa2 100644
--- a/src/gui/qtgui.tracepoints
+++ b/src/gui/qtgui.tracepoints
@@ -8,7 +8,7 @@ QGuiApplicationPrivate_init_entry()
QGuiApplicationPrivate_init_exit()
QGuiApplicationPrivate_processWindowSystemEvent_entry(int type)
-QGuiApplicationPrivate_processWindowSystemEvent_exit(int type)
+QGuiApplicationPrivate_processWindowSystemEvent_exit()
QFontDatabase_addApplicationFont(const QString &filename)
QFontDatabase_load(const QString &family, int pointSize)