Skip to contentSkip to conversation

trace: install trace-events file

PATCH Applied Stefan Hajnoczi 2 participants 2 messages Sep 23, 2014 – Sep 24, 2014 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index b33aaac..f505202 100644
@@ -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
Signature · 1 line
1.9.3
#1 lore raw
Quoted 10 lines · Stefan Hajnoczi

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.

Quoted 4 lines
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

Applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan