From: Peter Maydell Date: Tue, 19 Nov 2024 13:02:08 +0000 (+0000) Subject: target/arm/hvf: Add trace.h header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3de6d364b69dfc74e34f2e19e1897d678e7f3d5a;p=qemu.git target/arm/hvf: Add trace.h header The documentation for trace events says that every subdirectory which has trace events should have a trace.h header, whose only content is an include of the trace/trace-.h file. When we added the trace events in target/arm/hvf/ we forgot to create this file and instead hvf.c directly includes trace/trace-target_arm_hvf.h. Create the standard trace.h file to bring this into line with the convention. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-id: 20241108162909.4080314-3-peter.maydell@linaro.org --- diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c index 6cea483d42..ca7ea92774 100644 --- a/target/arm/hvf/hvf.c +++ b/target/arm/hvf/hvf.c @@ -31,7 +31,7 @@ #include "target/arm/internals.h" #include "target/arm/multiprocessing.h" #include "target/arm/gtimer.h" -#include "trace/trace-target_arm_hvf.h" +#include "trace.h" #include "migration/vmstate.h" #include "gdbstub/enums.h" diff --git a/target/arm/hvf/trace.h b/target/arm/hvf/trace.h new file mode 100644 index 0000000000..04a19c1d75 --- /dev/null +++ b/target/arm/hvf/trace.h @@ -0,0 +1 @@ +#include "trace/trace-target_arm_hvf.h"