qapi/commands: Optionally generate trace for QMP commands
Add trace generation disabled by default and new option --gen-trace to enable it. The next commit will enable it for qapi/, but not for qga/ and tests/. Making it work for the latter two would involve some Meson hackery to ensure we generate the trace-events files before trace-tool uses them. Since we don't actually support tracing there, we'll bypass that problem. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20220126161130.3240892-4-vsementsov@virtuozzo.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Superfluous #include dropped] Signed-off-by: Markus Armbruster <armbru@redhat.com>
V
Vladimir Sementsov-Ogievskiy committed
bd2017bc41566a94fbdfd8728b6e805ce2a2c124
Parent: 167d913
Committed by Markus Armbruster <armbru@redhat.com>
on 1/27/2022, 10:25:52 AM