Skip to content
Snippets Groups Projects
Commit 5ac034b1 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé
Browse files

trace: Do not try to include QMP commands in user emulation binaries


QMP is not available on user emulation; there is not monitor.
Besides, since commit a0e61807 ("qapi: Remove QMP events
and commands from user-mode builds") we don't generate the
qapi-commands-trace.h header in a user-emulation-only build.

Remove the QMP trace commands from qemu-user binaries.

Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20221220150417.26751-1-philmd@linaro.org>
parent 919a0423
No related branches found
No related tags found
No related merge requests found
......@@ -89,4 +89,6 @@ if 'ftrace' in get_option('trace_backends')
trace_ss.add(files('ftrace.c'))
endif
trace_ss.add(files('control.c'))
trace_ss.add(files('qmp.c'))
if have_system or have_tools or have_ga
trace_ss.add(files('qmp.c'))
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment