From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 2/2] build: convert xenoprof to Kconfig Date: Mon, 8 Feb 2016 16:14:16 +0000 Message-ID: <56B8BED8.10605@citrix.com> References: <1454947487-8588-1-git-send-email-cardoe@cardoe.com> <1454947487-8588-2-git-send-email-cardoe@cardoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1454947487-8588-2-git-send-email-cardoe@cardoe.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Doug Goldstein , xen-devel@lists.xen.org Cc: Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 08/02/16 16:04, Doug Goldstein wrote: > diff --git a/xen/common/Kconfig b/xen/common/Kconfig > index 6f404b4..fbb64a7 100644 > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig > @@ -84,6 +84,19 @@ config LATE_HWDOM > > If unsure, say N. > > +# Adds support for Xenoprof > +config XENOPROF > + bool "Xenoprof support" Despite the awkward CONFIG name, this is Xen Oprofile Support With the bits of text updated appropriately, Reviewed-by: Andrew Cooper > + default y > + depends on X86 > + ---help--- > + Xenoprof is a system-wide profiler for Xen virtual machine > + environments, capable of profiling the Xen virtual machine monitor, > + multiple Linux guest operating systems, and applications running on > + them. > + > + If unsure, say Y. > + > # Enable/Disable XSM support > config XSM > bool "Xen Security Modules support" > diff --git a/xen/common/Makefile b/xen/common/Makefile > index 6e82b33..126d373 100644 > --- a/xen/common/Makefile > +++ b/xen/common/Makefile > @@ -62,7 +62,7 @@ obj-bin-$(CONFIG_X86) += $(foreach n,decompress bunzip2 unxz unlzma unlzo unlz4 > > obj-$(perfc) += perfc.o > obj-$(crash_debug) += gdbstub.o > -obj-$(xenoprof) += xenoprof.o > +obj-$(CONFIG_XENOPROF) += xenoprof.o > > obj-$(CONFIG_COMPAT) += $(addprefix compat/,domain.o kernel.o memory.o multicall.o tmem_xen.o xlat.o) >