]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/uefi: Create and use trace.h wrapper header
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Jul 2025 14:24:12 +0000 (15:24 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 13 Jul 2025 09:08:07 +0000 (12:08 +0300)
commit21f4c5a700394878a6028708be480e73d8bea890
tree4a71e085baf305d40a7dc8c994d63d3626ef6364
parent3773ba281a3b8c3c75b9d9b614148b2356c328ac
hw/uefi: Create and use trace.h wrapper header

The documentation of the trace subsystem (docs/devel/tracing.rst)
says that each subdirectory which uses trace events should create a
wrapper trace.h file which includes the trace/trace-foo.h generated
header, and that .c files then #include "trace.h".

We didn't follow this pattern in hw/uefi/.  Correct this by creating
and using the trace.h wrapper header.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/uefi/trace.h [new file with mode: 0644]
hw/uefi/var-service-core.c
hw/uefi/var-service-policy.c
hw/uefi/var-service-utils.c
hw/uefi/var-service-vars.c