trace: Don't include trace-root.h in control.c or control-target.c
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Nov 2024 13:02:08 +0000 (13:02 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Nov 2024 14:14:13 +0000 (14:14 +0000)
The trace-root.h file has the definitions of trace events for
the top-level trace-events file (i.e. for those events which are
used in source files in the root of the source tree). There's
no particular need for trace/control.c or trace/control-target.c
to include this.

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-4-peter.maydell@linaro.org

trace/control-target.c
trace/control.c

index 97f21e476d2d7d7d77748669978fe4ca6aa00271..d58e84f6dd8e9222d6e8771216126bb1cbe61ddb 100644 (file)
@@ -10,7 +10,6 @@
 #include "qemu/osdep.h"
 #include "qemu/lockable.h"
 #include "cpu.h"
-#include "trace/trace-root.h"
 #include "trace/control.h"
 
 
index ef107829ac00ebfb90c01b2677a27aae33c7e841..1c8c50064af7786572f67f905f119e0e366399c5 100644 (file)
@@ -27,7 +27,6 @@
 #include "qemu/error-report.h"
 #include "qemu/config-file.h"
 #include "monitor/monitor.h"
-#include "trace/trace-root.h"
 
 int trace_events_enabled_count;