Skip to content

Commit

Permalink
target/arm/hvf: Add trace.h header
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
  • Loading branch information
pm215 committed Nov 19, 2024
1 parent 0139a4f commit 3de6d36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion target/arm/hvf/hvf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions target/arm/hvf/trace.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "trace/trace-target_arm_hvf.h"

0 comments on commit 3de6d36

Please sign in to comment.