Skip to content

Commit

Permalink
trace: Don't include trace-root.h in control.c or control-target.c
Browse files Browse the repository at this point in the history
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 <[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 3de6d36 commit c5275c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion trace/control-target.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "qemu/osdep.h"
#include "qemu/lockable.h"
#include "cpu.h"
#include "trace/trace-root.h"
#include "trace/control.h"


Expand Down
1 change: 0 additions & 1 deletion trace/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c5275c7

Please sign in to comment.