Browse Source

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
Peter Maydell 9 months ago
parent
commit
c5275c7342
2 changed files with 0 additions and 2 deletions
  1. 0 1
      trace/control-target.c
  2. 0 1
      trace/control.c

+ 0 - 1
trace/control-target.c

@@ -10,7 +10,6 @@
 #include "qemu/osdep.h"
 #include "qemu/osdep.h"
 #include "qemu/lockable.h"
 #include "qemu/lockable.h"
 #include "cpu.h"
 #include "cpu.h"
-#include "trace/trace-root.h"
 #include "trace/control.h"
 #include "trace/control.h"
 
 
 
 

+ 0 - 1
trace/control.c

@@ -27,7 +27,6 @@
 #include "qemu/error-report.h"
 #include "qemu/error-report.h"
 #include "qemu/config-file.h"
 #include "qemu/config-file.h"
 #include "monitor/monitor.h"
 #include "monitor/monitor.h"
-#include "trace/trace-root.h"
 
 
 int trace_events_enabled_count;
 int trace_events_enabled_count;