diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-06-16 09:39:47 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-06-20 17:22:14 +0100 |
commit | 1412cf58be821fa4339053d95d6c035c82461c2c (patch) | |
tree | 386bd9e90aeda58845e1f24536e57d351101e67e /Makefile.target | |
parent | dcdaadb6ea873159487aa2fdbee2c4aa7779e02d (diff) | |
download | qemu-1412cf58be821fa4339053d95d6c035c82461c2c.tar.gz qemu-1412cf58be821fa4339053d95d6c035c82461c2c.tar.bz2 qemu-1412cf58be821fa4339053d95d6c035c82461c2c.zip |
trace: add build framework for merging trace-events files
Switch make rules over to use trace-events-all as the
master trace events input file. Add rule that will
construct trace-events-all from $(trace-events-y).
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1466066426-16657-2-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.target b/Makefile.target index 495b474931..d720b3e733 100644 --- a/Makefile.target +++ b/Makefile.target @@ -48,7 +48,7 @@ else TARGET_TYPE=system endif -$(QEMU_PROG).stp-installed: $(SRC_PATH)/trace-events +$(QEMU_PROG).stp-installed: $(BUILD_DIR)/trace-events-all $(call quiet-command,$(TRACETOOL) \ --format=stap \ --backends=$(TRACE_BACKENDS) \ @@ -57,7 +57,7 @@ $(QEMU_PROG).stp-installed: $(SRC_PATH)/trace-events --target-type=$(TARGET_TYPE) \ < $< > $@," GEN $(TARGET_DIR)$(QEMU_PROG).stp-installed") -$(QEMU_PROG).stp: $(SRC_PATH)/trace-events +$(QEMU_PROG).stp: $(BUILD_DIR)/trace-events-all $(call quiet-command,$(TRACETOOL) \ --format=stap \ --backends=$(TRACE_BACKENDS) \ @@ -66,7 +66,7 @@ $(QEMU_PROG).stp: $(SRC_PATH)/trace-events --target-type=$(TARGET_TYPE) \ < $< > $@," GEN $(TARGET_DIR)$(QEMU_PROG).stp") -$(QEMU_PROG)-simpletrace.stp: $(SRC_PATH)/trace-events +$(QEMU_PROG)-simpletrace.stp: $(BUILD_DIR)/trace-events-all $(call quiet-command,$(TRACETOOL) \ --format=simpletrace-stap \ --backends=$(TRACE_BACKENDS) \ |