[Buildroot] [PATCH] package/qemu: add option to enable tracing (default no)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Sep 2 16:01:47 UTC 2023
Hello Carlos,
On Wed, 12 Jul 2023 19:01:19 -0300
unixmania at gmail.com wrote:
> From: Carlos Santos <unixmania at gmail.com>
>
> Tracing is a development feature for debugging, profiling, and observing
> QEMU execution. It does not make sense to enable it by default, so add a
> config to enable the "log" tracing backend (the default one). Options to
> select other backends may be added in the future.
>
> Also pull a patch already reviewed upstream to install the trace events
> file only if necessary:
>
> https://patchwork.kernel.org/project/qemu-devel/patch/20230408010410.281263-1-casantos@redhat.com/
>
> Signed-off-by: Carlos Santos <unixmania at gmail.com>
> ---
> ...-trace-events-file-only-if-necessary.patch | 29 +++++++++++++++++++
> package/qemu/Config.in | 9 ++++++
> package/qemu/qemu.mk | 6 ++++
> 3 files changed, 44 insertions(+)
> create mode 100644 package/qemu/0004-tracing-install-trace-events-file-only-if-necessary.patch
Applied to next after adding an "Upstream:" tag inside the patch, which
we now require (you get a "make check-package" warning if you don't
have this tag).
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list