Skip to content

Commit 3de6d36

Browse files
committed
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 <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-id: [email protected]
1 parent 0139a4f commit 3de6d36

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

target/arm/hvf/hvf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "target/arm/internals.h"
3232
#include "target/arm/multiprocessing.h"
3333
#include "target/arm/gtimer.h"
34-
#include "trace/trace-target_arm_hvf.h"
34+
#include "trace.h"
3535
#include "migration/vmstate.h"
3636

3737
#include "gdbstub/enums.h"

target/arm/hvf/trace.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "trace/trace-target_arm_hvf.h"

0 commit comments

Comments
 (0)