summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/Makefile
diff options
context:
space:
mode:
authorFeng(Eric) Liu <eric.e.liu@intel.com>2008-04-10 14:47:53 +0200
committerAvi Kivity <avi@qumranet.com>2008-04-27 11:01:22 +0200
commitd4c9ff2d1b78e385471b3f4d80c0596909926ef7 (patch)
tree5551c0f6c56439df39ca434115840f4e36cee2ea /arch/x86/kvm/Makefile
parentKVM: ia64: Stub out kvmtrace (diff)
downloadlinux-d4c9ff2d1b78e385471b3f4d80c0596909926ef7.tar.xz
linux-d4c9ff2d1b78e385471b3f4d80c0596909926ef7.zip
KVM: Add kvm trace userspace interface
This interface allows user a space application to read the trace of kvm related events through relayfs. Signed-off-by: Feng (Eric) Liu <eric.e.liu@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/Makefile')
-rw-r--r--arch/x86/kvm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index 4d0c22e11f1a..c97d35c218db 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -3,6 +3,9 @@
#
common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o)
+ifeq ($(CONFIG_KVM_TRACE),y)
+common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
+endif
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm