Update qtrace_p.h comments

-Update supported types
-Add how to autogenerate metadata.

Change-Id: I1a88ff137760f7d348b841275cc00a2c63771927
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit e4562157a14dfa07a56c364203c159cada330269)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Antti Määttä 2023-02-14 08:57:36 +02:00 committed by Qt Cherry-pick Bot
parent cbee4d6ff2
commit 216bf7b704

View File

@ -75,6 +75,9 @@
* - QByteArray
* - QUrl
* - QRect
* - QRectF
* - QSize
* - QSizeF
*
* Dynamic arrays are supported using the syntax illustrated by
* qcoreapplication_baz above.
@ -218,6 +221,11 @@ QT_BEGIN_NAMESPACE
* ...
* "} QImage::Format;" \
* );
*
* If the content of enum is empty or contains keyword AUTO, then the tracepointgen tool
* tries to find the enumeration from header files.
*
* Q_TRACE_METADATA(qtcore, "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;");
*/
#define Q_TRACE_INSTRUMENT(provider)
#define Q_TRACE_PARAM_REPLACE(in, out)