Qt ships a compile-time instrumentation framework: a set of Q_TRACE* macros scattered
through Qt Core, Gui, Widgets, OpenGL, Qml, Quick and Quick3D. The macros expand to
nothing unless Qt was configured with a tracing backend. When a backend is enabled, a
code generator turns the annotations into real probe calls for one of three backends:
| Backend | Configure flag | Platform | Consumer |
|---|---|---|---|
| LTTng-UST | -trace lttng |
Linux (needs lttng-ust) |
lttng, Trace Compass, babeltrace |
