From f9bc9e65fbec1781f64effc6bcc3b6edc57f8d19 Mon Sep 17 00:00:00 2001 From: Janosch Frank Date: Wed, 18 May 2016 13:26:21 +0200 Subject: tools: Add kvm_stat vm monitor script This tool displays kvm vm exit statistics to ease vm monitoring. It takes its data from the kvm debugfs files or the vm tracepoints and outputs them as a curses ui or simple text. It was moved from qemu, as it is dependent on the kernel whereas qemu works with a large number of kernel versions, some of which may break the script. Signed-off-by: Janosch Frank Signed-off-by: Paolo Bonzini --- tools/kvm/kvm_stat/Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/kvm/kvm_stat/Makefile (limited to 'tools/kvm/kvm_stat/Makefile') diff --git a/tools/kvm/kvm_stat/Makefile b/tools/kvm/kvm_stat/Makefile new file mode 100644 index 000000000000..c639b8d30688 --- /dev/null +++ b/tools/kvm/kvm_stat/Makefile @@ -0,0 +1,5 @@ +BINDIR=usr/bin + +install: + mkdir -p $(INSTALL_ROOT)/$(BINDIR) + install -m 755 -p "kvm_stat" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)" -- cgit