]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen.git/commitdiff
trace: install trace-events file
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 23 Sep 2014 15:29:35 +0000 (16:29 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 26 Sep 2014 08:34:39 +0000 (09:34 +0100)
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 <stefanha@redhat.com>
Message-id: 1411486175-3017-1-git-send-email-stefanha@redhat.com

Makefile

index b33aaacde61b164c486d47e48e9322b2ab2867b4..f5052026dad6e972f988bfff0b50eb43e13a1748 100644 (file)
--- 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