From: Stefan Hajnoczi Date: Tue, 23 Sep 2014 15:29:35 +0000 (+0100) Subject: trace: install trace-events file X-Git-Tag: qemu-xen-4.6.0-rc1~157^2~3 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=89ae5831a53e2d30a370e9a30fdb35da5a8f89aa;p=qemu-upstream-4.6-testing.git trace: install trace-events file Install the ./trace-events file into the data directory. This file contains the list of trace events that were built into QEMU at compile-time. The file is a handy reference for the set of trace events that the QEMU binary was built with. It is also needed by the simpletrace.py tool that parses binary trace data either emitted from QEMU when built with --enable-trace-backend=simple or by the SystemTap simpletrace script that QEMU provides. Signed-off-by: Stefan Hajnoczi Message-id: 1411486175-3017-1-git-send-email-stefanha@redhat.com --- diff --git a/Makefile b/Makefile index b33aaacde..f5052026d 100644 --- a/Makefile +++ b/Makefile @@ -418,6 +418,7 @@ endif set -e; for x in $(KEYMAPS); do \ $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \ done + $(INSTALL_DATA) $(SRC_PATH)/trace-events "$(DESTDIR)$(qemu_datadir)/trace-events" for d in $(TARGET_DIRS); do \ $(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=$$d/ -C $$d $@ || exit 1 ; \ done