This series does some minor cleanups which deal with cases where some
C file is including a "trace/trace-<subdir>.h" file directly. Our
documentation in docs/devel/tracing.rst says that that should
generally not be done; instead there is a trace.h file which indirects
to the generated trace-<subdir>.h header. The only exception is that
source files in the root directory include trace/trace-root.h.
The three exceptions fixed here are:
* system/dma-helpers.c defined its trace events in the
root trace-events file, not the system/trace-events file
* we forgot to create the indirection trace.h for target/arm/hvf
* a couple of source files in trace/ include trace-root.h when
they don't use anything defined in it
thanks
-- PMM
Peter Maydell (3):
system/dma-helpers.c: Move trace events to system/trace-events
target/arm/hvf: Add trace.h header
trace: Don't include trace-root.h in control.c or control-target.c
target/arm/hvf/trace.h | 1 +
system/dma-helpers.c | 2 +-
target/arm/hvf/hvf.c | 2 +-
trace/control-target.c | 1 -
trace/control.c | 1 -
system/trace-events | 7 +++++++
trace-events | 7 -------
7 files changed, 10 insertions(+), 11 deletions(-)
create mode 100644 target/arm/hvf/trace.h
--
2.34.1