The CXL subsystem currently has no trace-events file. Create one under hw/cxl/ and register it in the top-level meson.build trace_events_subdirs list so that subsequent patches can add trace points incrementally.
Signed-off-by: Junjie Cao <[email protected]> --- hw/cxl/trace-events | 1 + hw/cxl/trace.h | 2 ++ meson.build | 1 + 3 files changed, 4 insertions(+) create mode 100644 hw/cxl/trace-events create mode 100644 hw/cxl/trace.h diff --git a/hw/cxl/trace-events b/hw/cxl/trace-events new file mode 100644 index 0000000000..23bc9b19b9 --- /dev/null +++ b/hw/cxl/trace-events @@ -0,0 +1 @@ +# See docs/devel/tracing.rst for syntax documentation. diff --git a/hw/cxl/trace.h b/hw/cxl/trace.h new file mode 100644 index 0000000000..ab87f3e98f --- /dev/null +++ b/hw/cxl/trace.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#include "trace/trace-hw_cxl.h" diff --git a/meson.build b/meson.build index 19e123423b..c229199d5d 100644 --- a/meson.build +++ b/meson.build @@ -3596,6 +3596,7 @@ if have_system 'hw/audio', 'hw/block', 'hw/char', + 'hw/cxl', 'hw/display', 'hw/dma', 'hw/fsi', -- 2.43.0
