[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: Compile errors current linus tree with xen options enabled (seems related to jeremy's tracing changes)



On 08/03/2011 03:43 AM, Sander Eikelenboom wrote:
> Hi Jeremy/Konrad,
>
> I have tried to compile linus his tree 
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (commit 
> ed8f37370d83e695c0a4fa5d5fc7a83ecb947526) but i'm encountering compile errors.
> Switching of all "tracers" under "Kernel hacking" seems to circumvent these 
> compile errors.
>
> .config which gives the build errors attached (a "make defconfig" for x86_64 
> with minimal changes for xen and hardware support)

Does this fix it?

    J

>From 55a266630d0319c9eb4e0e067d4a0c7f27f978bd Mon Sep 17 00:00:00 2001
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Date: Tue, 2 Aug 2011 13:38:17 -0700
Subject: [PATCH] xen/tracing: it looks like we wanted CONFIG_FTRACE

Apparently we wanted CONFIG_FTRACE rather the CONFIG_FUNCTION_TRACER.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index ce69201..1894b4a 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -15,7 +15,7 @@ obj-y         := enlighten.o setup.o multicalls.o mmu.o irq.o 
\
                        grant-table.o suspend.o platform-pci-unplug.o \
                        p2m.o
 
-obj-$(CONFIG_FUNCTION_TRACER) += trace.o
+obj-$(CONFIG_FTRACE) += trace.o
 
 obj-$(CONFIG_SMP)              += smp.o
 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.