diff options
author | Vladimir Sementsov-Ogievskiy | 2022-01-26 17:11:29 +0100 |
---|---|---|
committer | Markus Armbruster | 2022-01-27 15:17:35 +0100 |
commit | 378dfa482d6569b0034d21931570a4f31d940301 (patch) | |
tree | 70291ea2fbe866d0b0fe0ae980bfaa86f8593232 /qga | |
parent | docs/qapi-code-gen: update to cover trace events code generation (diff) | |
download | qemu-378dfa482d6569b0034d21931570a4f31d940301.tar.gz qemu-378dfa482d6569b0034d21931570a4f31d940301.tar.xz qemu-378dfa482d6569b0034d21931570a4f31d940301.zip |
meson: document why we don't generate trace events for tests/ and qga/
Making trace generation work for tests/ and qga/ 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
anyway, we bypass that problem.
Let's add corresponding comments.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20220126161130.3240892-7-vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Pasto fixed, commit message punctuation tidied up]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qga')
-rw-r--r-- | qga/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qga/meson.build b/qga/meson.build index cfb1fbc085..724d5a667b 100644 --- a/qga/meson.build +++ b/qga/meson.build @@ -15,6 +15,13 @@ qga_qapi_outputs = [ 'qga-qapi-visit.h', ] +# Problem: to generate trace events, we'd have to add the .trace-events +# file to qapi_trace_events like we do in qapi/meson.build. Since +# qapi_trace_events is used by trace/meson.build, we'd have to move +# subdir('qga') above subdir('trace') in the top-level meson.build. +# Can't, because it would break the dependency of qga on qemuutil (which +# depends on trace_ss). Not worth solving now; simply suppress trace +# event generation instead. qga_qapi_files = custom_target('QGA QAPI files', output: qga_qapi_outputs, input: 'qapi-schema.json', |