From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raghavendra K T Subject: [PATCH V13 13/14] kvm guest : Add configuration support to enable debug information for KVM Guests Date: Fri, 9 Aug 2013 19:52:01 +0530 Message-ID: <1376058122-8248-14-git-send-email-raghavendra.kt@linux.vnet.ibm.com> References: <1376058122-8248-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> Return-path: In-Reply-To: <1376058122-8248-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org To: mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jeremy@goop.org, konrad.wilk@oracle.com, gleb@redhat.com, pbonzini@redhat.com Cc: gregkh@suse.de, peterz@infradead.org, tglx@linutronix.de, agraf@suse.de, riel@redhat.com, avi.kivity@gmail.com, habanero@linux.vnet.ibm.com, chegu_vinod@hp.com, ouyang@cs.pitt.edu, drjones@redhat.com, attilio.rao@citrix.com, linux-doc@vger.kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, andi@firstfloor.org, xen-devel@lists.xensource.com, virtualization@lists.linux-foundation.org, stefano.stabellini@eu.citrix.com, mtosatti@redhat.com, srivatsa.vaddagiri@gmail.com, Srivatsa Vaddagiri , Suzuki Poulose , Raghavendra K T List-Id: xen-devel@lists.xenproject.org From: Srivatsa Vaddagiri Signed-off-by: Srivatsa Vaddagiri Signed-off-by: Suzuki Poulose Signed-off-by: Raghavendra K T Acked-by: Gleb Natapov Acked-by: Ingo Molnar --- arch/x86/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 724ce55..f108f00 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -688,6 +688,15 @@ config KVM_GUEST underlying device model, the host provides the guest with timing infrastructure such as time of day, and system time +config KVM_DEBUG_FS + bool "Enable debug information for KVM Guests in debugfs" + depends on KVM_GUEST && DEBUG_FS + default n + ---help--- + This option enables collection of various statistics for KVM guest. + Statistics are displayed in debugfs filesystem. Enabling this option + may incur significant overhead. + source "arch/x86/lguest/Kconfig" config PARAVIRT_TIME_ACCOUNTING -- 1.7.11.7