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-<subdir>.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 <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20241108162909.4080314-3-peter.maydell@linaro.org
This commit is contained in:
Peter Maydell 2024-11-19 13:02:08 +00:00
parent 0139a4f26d
commit 3de6d364b6
2 changed files with 2 additions and 1 deletions
target/arm/hvf

View File

@ -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"

1
target/arm/hvf/trace.h Normal file
View File

@ -0,0 +1 @@
#include "trace/trace-target_arm_hvf.h"