aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/Makefile
diff options
context:
space:
mode:
authorFrediano Ziglio <frediano.ziglio@citrix.com>2013-02-14 12:37:16 +0000
committerKeir Fraser <keir.xen@gmail.com>2013-02-21 16:28:11 +0000
commiteb459da88574d295152cdff20e67486b08c3066d (patch)
tree86573e4622c00ac2ea9eb1340c13647d77dc3ebc /tools/misc/Makefile
parent5043f14b5e0043bb6a2c8b794adb440b8b8b3b4a (diff)
downloadxen-eb459da88574d295152cdff20e67486b08c3066d.tar.gz
xen-eb459da88574d295152cdff20e67486b08c3066d.tar.bz2
xen-eb459da88574d295152cdff20e67486b08c3066d.zip
gcov: Add small utility to deal with test coverage information from Xen
Currently the utility can read and reset coverage informations. Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Diffstat (limited to 'tools/misc/Makefile')
-rw-r--r--tools/misc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/misc/Makefile b/tools/misc/Makefile
index 22e60fd3d8..eef9411e1c 100644
--- a/tools/misc/Makefile
+++ b/tools/misc/Makefile
@@ -9,7 +9,7 @@ CFLAGS += $(CFLAGS_libxenstore)
HDRS = $(wildcard *.h)
-TARGETS-y := xenperf xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd
+TARGETS-y := xenperf xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd xencov
TARGETS-$(CONFIG_X86) += xen-detect xen-hvmctx xen-hvmcrash xen-lowmemd
TARGETS-$(CONFIG_MIGRATE) += xen-hptool
TARGETS := $(TARGETS-y)
@@ -22,7 +22,8 @@ INSTALL_BIN-y := xencons
INSTALL_BIN-$(CONFIG_X86) += xen-detect
INSTALL_BIN := $(INSTALL_BIN-y)
-INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse gtraceview gtracestat xenlockprof xenwatchdogd xen-ringwatch
+INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse gtraceview \
+ gtracestat xenlockprof xenwatchdogd xen-ringwatch xencov
INSTALL_SBIN-$(CONFIG_X86) += xen-hvmctx xen-hvmcrash xen-lowmemd
INSTALL_SBIN-$(CONFIG_MIGRATE) += xen-hptool
INSTALL_SBIN := $(INSTALL_SBIN-y)
@@ -85,4 +86,7 @@ xen-lowmemd: xen-lowmemd.o
gtraceview: gtraceview.o
$(CC) $(LDFLAGS) -o $@ $< $(CURSES_LIBS) $(APPEND_LDFLAGS)
+xencov: xencov.o
+ $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS_libxenctrl) $(APPEND_LDFLAGS)
+
-include $(DEPS)