@@ -146,7 +146,6 @@ docker-src.*
*~
*.ast_raw
*.depend_raw
-trace.h
trace.c
trace-ust.h
trace-ust.h
@@ -159,8 +159,8 @@ generated-files-$(CONFIG_TRACE_UST) += trace-ust-all.c
generated-files-y += module_block.h
-TRACE_HEADERS = trace-root.h $(trace-events-subdirs:%=%/trace.h)
-TRACE_SOURCES = trace-root.c $(trace-events-subdirs:%=%/trace.c)
+TRACE_HEADERS = trace/trace-root.h
+TRACE_SOURCES = trace/trace-root.c
TRACE_DTRACE =
ifdef CONFIG_TRACE_DTRACE
TRACE_HEADERS += trace-dtrace-root.h $(trace-events-subdirs:%=%/trace-dtrace.h)
@@ -170,33 +170,37 @@ ifdef CONFIG_TRACE_UST
TRACE_HEADERS += trace-ust-root.h $(trace-events-subdirs:%=%/trace-ust.h)
endif
-generated-files-y += $(TRACE_HEADERS)
-generated-files-y += $(TRACE_SOURCES)
generated-files-y += $(BUILD_DIR)/trace-events-all
generated-files-y += .git-submodule-status
trace-group-name = $(shell dirname $1 | sed -e 's/[^a-zA-Z0-9]/_/g')
+trace-group-suffix = $(shell echo $1 | sed -e 's/[^a-zA-Z0-9]/_/g')
tracetool-y = $(SRC_PATH)/scripts/tracetool.py
tracetool-y += $(shell find $(SRC_PATH)/scripts/tracetool -name "*.py")
-%/trace.h: %/trace.h-timestamp
- @cmp $< $@ >/dev/null 2>&1 || cp $< $@
-%/trace.h-timestamp: $(SRC_PATH)/%/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
+define __trace_rules
+TRACE_HEADERS += trace/trace-$2.h
+TRACE_SOURCES += trace/trace-$2.c
+trace-obj-y += trace/trace-$2.o
+trace/trace-$2.h: trace/trace-$2.h-timestamp
+ @cmp $$< $$@ >/dev/null 2>&1 || cp $$< $$@
+trace/trace-$2.h-timestamp: $(SRC_PATH)/$1/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
$(call quiet-command,$(TRACETOOL) \
- --group=$(call trace-group-name,$@) \
+ --group=$2 \
--format=h \
--backends=$(TRACE_BACKENDS) \
- $< > $@,"GEN","$(@:%-timestamp=%)")
+ $$< > $$@,"GEN","$$(@:%-timestamp=%)")
-%/trace.c: %/trace.c-timestamp
- @cmp $< $@ >/dev/null 2>&1 || cp $< $@
-%/trace.c-timestamp: $(SRC_PATH)/%/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
+trace/trace-$2.c: trace/trace-$2.c-timestamp
+ @cmp $$< $$@ >/dev/null 2>&1 || cp $$< $$@
+trace/trace-$2.c-timestamp: $(SRC_PATH)/$1/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
$(call quiet-command,$(TRACETOOL) \
- --group=$(call trace-group-name,$@) \
+ --group=$2 \
--format=c \
--backends=$(TRACE_BACKENDS) \
- $< > $@,"GEN","$(@:%-timestamp=%)")
+ $$< > $$@,"GEN","$$(@:%-timestamp=%)")
+endef
%/trace-ust.h: %/trace-ust.h-timestamp
@cmp $< $@ >/dev/null 2>&1 || cp $< $@
@@ -222,18 +226,18 @@ tracetool-y += $(shell find $(SRC_PATH)/scripts/tracetool -name "*.py")
%/trace-dtrace.o: %/trace-dtrace.dtrace $(tracetool-y)
-trace-root.h: trace-root.h-timestamp
+trace/trace-root.h: trace/trace-root.h-timestamp
@cmp $< $@ >/dev/null 2>&1 || cp $< $@
-trace-root.h-timestamp: $(SRC_PATH)/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
+trace/trace-root.h-timestamp: $(SRC_PATH)/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
$(call quiet-command,$(TRACETOOL) \
--group=root \
--format=h \
--backends=$(TRACE_BACKENDS) \
$< > $@,"GEN","$(@:%-timestamp=%)")
-trace-root.c: trace-root.c-timestamp
+trace/trace-root.c: trace/trace-root.c-timestamp
@cmp $< $@ >/dev/null 2>&1 || cp $< $@
-trace-root.c-timestamp: $(SRC_PATH)/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
+trace/trace-root.c-timestamp: $(SRC_PATH)/trace-events $(tracetool-y) $(BUILD_DIR)/config-host.mak
$(call quiet-command,$(TRACETOOL) \
--group=root \
--format=c \
@@ -477,6 +481,12 @@ dummy := $(call unnest-vars,, \
common-obj-m \
trace-obj-y)
+dummy := $(foreach DIR,$(trace-events-subdirs),$(eval $(call __trace_rules,$(DIR),$(call trace-group-suffix,$(DIR)))))
+
+generated-files-y += $(TRACE_HEADERS)
+generated-files-y += $(TRACE_SOURCES)
+
+
include $(SRC_PATH)/tests/Makefile.include
all: $(DOCS) $(if $(BUILD_DOCS),sphinxdocs) $(TOOLS) $(HELPERS-y) recurse-all modules $(vhost-user-json-y)
@@ -209,7 +209,6 @@ trace-events-subdirs += util
trace-events-files = $(SRC_PATH)/trace-events $(trace-events-subdirs:%=$(SRC_PATH)/%/trace-events)
trace-obj-y = trace-root.o
-trace-obj-y += $(trace-events-subdirs:%=%/trace.o)
trace-obj-$(CONFIG_TRACE_UST) += trace-ust-all.o
trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace-root.o
trace-obj-$(CONFIG_TRACE_DTRACE) += $(trace-events-subdirs:%=%/trace-dtrace.o)
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-accel_kvm.h"
@@ -34,7 +34,7 @@
#include "qemu/atomic.h"
#include "qemu/atomic128.h"
#include "translate-all.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "trace/mem.h"
#ifdef CONFIG_PLUGIN
#include "qemu/plugin-memory.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-accel_tcg.h"
@@ -26,7 +26,7 @@
#include "translate-all.h"
#include "exec/helper-proto.h"
#include "qemu/atomic128.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "trace/mem.h"
#undef EAX
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-audio.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-authz.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-backends_tpm.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-backends.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-block.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-chardev.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-crypto.h"
@@ -10,7 +10,7 @@
#include "qemu/osdep.h"
#include "sysemu/block-backend.h"
#include "sysemu/dma.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "qemu/thread.h"
#include "qemu/main-loop.h"
#include "sysemu/cpus.h"
@@ -50,7 +50,7 @@
#include "sysemu/hw_accel.h"
#include "exec/address-spaces.h"
#include "sysemu/xen-mapcache.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#ifdef CONFIG_FALLOCATE_PUNCH_HOLE
#include <linux/falloc.h>
@@ -30,7 +30,7 @@
#include "qemu/ctype.h"
#include "qemu/cutils.h"
#include "qemu/module.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#ifdef CONFIG_USER_ONLY
#include "qemu.h"
#else
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_9pfs.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_acpi.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_alpha.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_arm.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_audio.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_block_dataplane.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_block.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_char.h"
@@ -31,7 +31,7 @@
#include "sysemu/tcg.h"
#include "hw/boards.h"
#include "hw/qdev-properties.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "qemu/plugin.h"
CPUInterruptHandler cpu_interrupt_handler;
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_core.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_display.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_dma.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_gpio.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_hppa.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_hyperv.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_i2c.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_i386.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_i386_xen.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_ide.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_input.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_intc.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_isa.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_mem.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_mips.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_misc_macio.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_misc.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_net.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_nvram.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_pci_host.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_pci.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_ppc.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_rdma.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_rdma_vmw.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_riscv.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_rtc.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_s390x.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_scsi.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_sd.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_sparc.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_sparc64.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_ssi.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_timer.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_tpm.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_usb.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_vfio.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_virtio.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_watchdog.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-hw_xen.h"
@@ -10,7 +10,7 @@
#ifndef _SYSCALL_TRACE_H_
#define _SYSCALL_TRACE_H_
-#include "trace-root.h"
+#include "trace/trace-root.h"
/*
* These helpers just provide a common place for the various
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-io.h"
@@ -27,7 +27,7 @@
#include "qemu/job.h"
#include "qapi/qapi-commands-job.h"
#include "qapi/error.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
/* Get a job using its ID and acquire its AioContext */
static Job *find_job(const char *id, AioContext **aio_context, Error **errp)
@@ -29,7 +29,7 @@
#include "qemu/id.h"
#include "qemu/main-loop.h"
#include "block/aio-wait.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "qapi/qapi-events-job.h"
static QLIST_HEAD(, Job) jobs = QLIST_HEAD_INITIALIZER(jobs);
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-linux_user.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-migration.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-monitor.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-nbd.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-net.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-qapi.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-qom.h"
@@ -19,10 +19,7 @@ def generate(events, backend, group):
active_events = [e for e in events
if "disable" not in e.properties]
- if group == "root":
- header = "trace-root.h"
- else:
- header = "trace.h"
+ header = "trace-" + group + ".h"
out('/* This file is autogenerated by tracetool, do not edit. */',
'',
@@ -28,7 +28,7 @@ def vcpu_transform_args(args):
def generate(events, backend, group):
if group == "root":
- header = "trace-root.h"
+ header = "trace/trace-root.h"
else:
header = "trace.h"
@@ -41,7 +41,7 @@ def vcpu_transform_args(args, mode):
def generate(events, backend, group):
if group == "root":
- header = "trace-root.h"
+ header = "trace/trace-root.h"
else:
header = "trace.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-scsi.h"
@@ -28,7 +28,7 @@
#include "qemu/atomic.h"
#include "sysemu/kvm.h"
#include "sysemu/balloon.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "qapi/error.h"
#include "qapi/qapi-commands-misc.h"
#include "qapi/qmp/qerror.h"
@@ -28,7 +28,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/ioport.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
@@ -24,7 +24,7 @@
#include "qemu/main-loop.h"
#include "qemu/qemu-print.h"
#include "qom/object.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "exec/memory-internal.h"
#include "exec/ram_addr.h"
@@ -90,7 +90,7 @@
#include "disas/disas.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "trace/control.h"
#include "qemu/plugin.h"
#include "qemu/queue.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_arm.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_hppa.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_i386.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_mips.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_ppc.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_riscv.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_s390x.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-target_sparc.h"
@@ -9,7 +9,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
#include "trace/control.h"
@@ -27,7 +27,7 @@
#include "qemu/error-report.h"
#include "qemu/config-file.h"
#include "monitor/monitor.h"
-#include "trace-root.h"
+#include "trace/trace-root.h"
int trace_events_enabled_count;
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-ui.h"
new file mode 100644
@@ -0,0 +1 @@
+#include "trace/trace-util.h"
Meson doesn't enjoy the same flexibility we have with Make in choosing the include path. In particular the tracing headers are using $(build_root)/$(<D). In order to keep the include directives unchanged, the simplest solution is to generate headers with patterns like "trace/trace-audio.h" and place forwarding headers in the source tree such that for example "audio/trace.h" includes "trace/trace-audio.h". This patch is too ugly to be applied to the Makefiles now. It's only a way to separate the changes to the tracing header files from the Meson rewrite of the tracing logic. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- .gitignore | 1 - Makefile | 46 ++++++++++++++---------- Makefile.objs | 1 - accel/kvm/trace.h | 1 + accel/tcg/cputlb.c | 2 +- accel/tcg/trace.h | 1 + accel/tcg/user-exec.c | 2 +- audio/trace.h | 1 + authz/trace.h | 1 + backends/tpm/trace.h | 1 + backends/trace.h | 1 + block/trace.h | 1 + chardev/trace.h | 1 + crypto/trace.h | 1 + dma-helpers.c | 2 +- exec.c | 2 +- gdbstub.c | 2 +- hw/9pfs/trace.h | 1 + hw/acpi/trace.h | 1 + hw/alpha/trace.h | 1 + hw/arm/trace.h | 1 + hw/audio/trace.h | 1 + hw/block/dataplane/trace.h | 1 + hw/block/trace.h | 1 + hw/char/trace.h | 1 + hw/core/cpu.c | 2 +- hw/core/trace.h | 1 + hw/display/trace.h | 1 + hw/dma/trace.h | 1 + hw/gpio/trace.h | 1 + hw/hppa/trace.h | 1 + hw/hyperv/trace.h | 1 + hw/i2c/trace.h | 1 + hw/i386/trace.h | 1 + hw/i386/xen/trace.h | 1 + hw/ide/trace.h | 1 + hw/input/trace.h | 1 + hw/intc/trace.h | 1 + hw/isa/trace.h | 1 + hw/mem/trace.h | 1 + hw/mips/trace.h | 1 + hw/misc/macio/trace.h | 1 + hw/misc/trace.h | 1 + hw/net/trace.h | 1 + hw/nvram/trace.h | 1 + hw/pci-host/trace.h | 1 + hw/pci/trace.h | 1 + hw/ppc/trace.h | 1 + hw/rdma/trace.h | 1 + hw/rdma/vmw/trace.h | 1 + hw/riscv/trace.h | 1 + hw/rtc/trace.h | 1 + hw/s390x/trace.h | 1 + hw/scsi/trace.h | 1 + hw/sd/trace.h | 1 + hw/sparc/trace.h | 1 + hw/sparc64/trace.h | 1 + hw/ssi/trace.h | 1 + hw/timer/trace.h | 1 + hw/tpm/trace.h | 1 + hw/usb/trace.h | 1 + hw/vfio/trace.h | 1 + hw/virtio/trace.h | 1 + hw/watchdog/trace.h | 1 + hw/xen/trace.h | 1 + include/user/syscall-trace.h | 2 +- io/trace.h | 1 + job-qmp.c | 2 +- job.c | 2 +- linux-user/trace.h | 1 + migration/trace.h | 1 + monitor/trace.h | 1 + nbd/trace.h | 1 + net/trace.h | 1 + qapi/trace.h | 1 + qom/trace.h | 1 + scripts/tracetool/format/c.py | 5 +-- scripts/tracetool/format/tcg_h.py | 2 +- scripts/tracetool/format/tcg_helper_c.py | 2 +- scsi/trace.h | 1 + softmmu/balloon.c | 2 +- softmmu/ioport.c | 2 +- softmmu/memory.c | 2 +- softmmu/vl.c | 2 +- target/arm/trace.h | 1 + target/hppa/trace.h | 1 + target/i386/trace.h | 1 + target/mips/trace.h | 1 + target/ppc/trace.h | 1 + target/riscv/trace.h | 1 + target/s390x/trace.h | 1 + target/sparc/trace.h | 1 + trace/control-target.c | 2 +- trace/control.c | 2 +- ui/trace.h | 1 + util/trace.h | 1 + 96 files changed, 121 insertions(+), 41 deletions(-) create mode 100644 accel/kvm/trace.h create mode 100644 accel/tcg/trace.h create mode 100644 audio/trace.h create mode 100644 authz/trace.h create mode 100644 backends/tpm/trace.h create mode 100644 backends/trace.h create mode 100644 block/trace.h create mode 100644 chardev/trace.h create mode 100644 crypto/trace.h create mode 100644 hw/9pfs/trace.h create mode 100644 hw/acpi/trace.h create mode 100644 hw/alpha/trace.h create mode 100644 hw/arm/trace.h create mode 100644 hw/audio/trace.h create mode 100644 hw/block/dataplane/trace.h create mode 100644 hw/block/trace.h create mode 100644 hw/char/trace.h create mode 100644 hw/core/trace.h create mode 100644 hw/display/trace.h create mode 100644 hw/dma/trace.h create mode 100644 hw/gpio/trace.h create mode 100644 hw/hppa/trace.h create mode 100644 hw/hyperv/trace.h create mode 100644 hw/i2c/trace.h create mode 100644 hw/i386/trace.h create mode 100644 hw/i386/xen/trace.h create mode 100644 hw/ide/trace.h create mode 100644 hw/input/trace.h create mode 100644 hw/intc/trace.h create mode 100644 hw/isa/trace.h create mode 100644 hw/mem/trace.h create mode 100644 hw/mips/trace.h create mode 100644 hw/misc/macio/trace.h create mode 100644 hw/misc/trace.h create mode 100644 hw/net/trace.h create mode 100644 hw/nvram/trace.h create mode 100644 hw/pci-host/trace.h create mode 100644 hw/pci/trace.h create mode 100644 hw/ppc/trace.h create mode 100644 hw/rdma/trace.h create mode 100644 hw/rdma/vmw/trace.h create mode 100644 hw/riscv/trace.h create mode 100644 hw/rtc/trace.h create mode 100644 hw/s390x/trace.h create mode 100644 hw/scsi/trace.h create mode 100644 hw/sd/trace.h create mode 100644 hw/sparc/trace.h create mode 100644 hw/sparc64/trace.h create mode 100644 hw/ssi/trace.h create mode 100644 hw/timer/trace.h create mode 100644 hw/tpm/trace.h create mode 100644 hw/usb/trace.h create mode 100644 hw/vfio/trace.h create mode 100644 hw/virtio/trace.h create mode 100644 hw/watchdog/trace.h create mode 100644 hw/xen/trace.h create mode 100644 io/trace.h create mode 100644 linux-user/trace.h create mode 100644 migration/trace.h create mode 100644 monitor/trace.h create mode 100644 nbd/trace.h create mode 100644 net/trace.h create mode 100644 qapi/trace.h create mode 100644 qom/trace.h create mode 100644 scsi/trace.h create mode 100644 target/arm/trace.h create mode 100644 target/hppa/trace.h create mode 100644 target/i386/trace.h create mode 100644 target/mips/trace.h create mode 100644 target/ppc/trace.h create mode 100644 target/riscv/trace.h create mode 100644 target/s390x/trace.h create mode 100644 target/sparc/trace.h create mode 100644 ui/trace.h create mode 100644 util/trace.h