# This target includes all userspace tools and images
# It does not include the Linux drivers/modules found in the modulespace target
.PHONY: root_image-userspace-install
-root_image-userspace-install: $(USERSPACE_INSTALL) add-libs add-bins add-debug-bins tools-install wget-install vim-install rsync-install openssh-install xtt-tools-install netperf-install lvm2-install plymouth-install pciutils-install iscsi-install bridge-utils-install xend-install nfs-install fio-install irqbalance-install pm-utils-install cpufrequtils-install perf-install oprofile-install
+root_image-userspace-install: $(USERSPACE_INSTALL) add-libs add-bins add-debug-bins tools-install wget-install vim-install rsync-install openssh-install xtt-tools-install netperf-install lvm2-install plymouth-install pciutils-install iscsi-install bridge-utils-install xend-install nfs-install fio-install irqbalance-install pm-utils-install cpufrequtils-install oprofile-install xenalyze-install
rm -rf userspace/man
rm -rf userspace/usr/share/man
(cd userspace/usr$(LIBSDIR); ln -fs ../lib/libcpupower.so.0)
endif
+.PHONY: xenalyze-install
+xenalyze-install:
+ $(MAKE) -j$$(($(NCPUS) * 2)) -C xenalyze
+ $(INSTALL_PROG) xenalyze/xenalyze userspace/usr/bin/
+ $(INSTALL_PROG) xenalyze/dump-raw userspace/usr/bin/
+
.PHONY: oprofile-install
oprofile-install:
if ! [ -e oprofile/config.h ]; then (cd oprofile; ./autogen.sh;./configure --prefix=/usr --with-kernel-support --with-linux=$(LINUX_DST) --enable-gui=no); fi
-REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/RPMs root_image/pm-utils root_image/kexec-tools xen linux
+REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/RPMs root_image/pm-utils root_image/kexec-tools xen linux root_image/xenalyze
include $(TOP)/scm.mk
GIT_URL=git://git.kernel.org/pub/scm/utils/kernel/kexec/
$(eval $(call GIT_REPO,kexec-tools.git,root_image/kexec-tools))
+
+HG_URL=http://xenbits.xen.org/
+$(eval $(call HG_REPO,ext/xenalyze,root_image/xenalyze))