aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-11-19 13:02:08 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-11-19 14:14:13 +0000
commitc5275c734233d6457f2340ca01d4577a971ea328 (patch)
treef79db02fc7bba3a27858cbb345b9edabbc40f675
parent3de6d364b69dfc74e34f2e19e1897d678e7f3d5a (diff)
trace: Don't include trace-root.h in control.c or control-target.c
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
-rw-r--r--trace/control-target.c1
-rw-r--r--trace/control.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/trace/control-target.c b/trace/control-target.c
index 97f21e476d..d58e84f6dd 100644
--- a/trace/control-target.c
+++ b/trace/control-target.c
@@ -10,7 +10,6 @@
#include "qemu/osdep.h"
#include "qemu/lockable.h"
#include "cpu.h"
-#include "trace/trace-root.h"
#include "trace/control.h"
diff --git a/trace/control.c b/trace/control.c
index ef107829ac..1c8c50064a 100644
--- a/trace/control.c
+++ b/trace/control.c
@@ -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;