Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753229AbZD2LwD (ORCPT ); Wed, 29 Apr 2009 07:52:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751465AbZD2Lvv (ORCPT ); Wed, 29 Apr 2009 07:51:51 -0400 Received: from mtagate2.de.ibm.com ([195.212.17.162]:51611 "EHLO mtagate2.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbZD2Lvu (ORCPT ); Wed, 29 Apr 2009 07:51:50 -0400 Date: Wed, 29 Apr 2009 13:51:39 +0200 From: Heiko Carstens To: Sachin Sant Cc: Ingo Molnar , Steven Rostedt , =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , linux-s390@vger.kernel.org, linux-next@vger.kernel.org, LKML Subject: Re: Next April 24: [S390] allmodconfig build failure (trace/events) Message-ID: <20090429135139.5fac79b8@osiris.boeblingen.de.ibm.com> In-Reply-To: <49F8232B.4090007@in.ibm.com> References: <20090424150456.ff35e4ea.sfr@canb.auug.org.au> <49F16654.8040208@in.ibm.com> <20090424072533.GE24912@elte.hu> <20090424104108.0f2c0f05@osiris.boeblingen.de.ibm.com> <49F8232B.4090007@in.ibm.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3114 Lines: 86 On Wed, 29 Apr 2009 15:21:39 +0530 Sachin Sant wrote: > Heiko Carstens wrote: > > On Fri, 24 Apr 2009 09:25:33 +0200 > > Ingo Molnar wrote: > >> * Sachin Sant wrote: > >>> Today's next tree build(s390 allmodconfig) failed with > >>> > >>> kernel/built-in.o: In function `trace_softirq_entry' > >>> include/trace/events/irq.h:42: undefined reference to > >>> `' > >>> include/trace/events/irq.h:42: undefined reference to > >>> `__tracepoint_softirq_entry' > >>> kernel/built-in.o: In function `trace_softirq_exit': > >>> include/trace/events/irq.h:48: undefined reference to > >>> `__tracepoint_softirq_exit' > >>> include/trace/events/irq.h:48: undefined reference to > >>> `__tracepoint_softirq_exit' > >>> > >> Hm, that's weird - s390 does not build kernel/softirq.o? Hm, it does > >> - softirq.o is an obj-y object. > > > > s390 does build kernel/softirq.o. However it's anything but obvious to > > me how the tracepoint infrastructure works. Too many #ifdefs, #define's > > and #undefine's... > > > > I would expect that struct __tracepoint_softirq_entry somehow gets > > defined via one of the TRACE_FORMAT macros, no? > Today's next tree also has this failure. Any solution for this problem ? Ingo, could you pick up the patch below please? Subject: [PATCH] tracing: fix compile error From: Heiko Carstens "tracing: create automated trace defines" causes this compile error on s390: kernel/built-in.o: In function `__do_softirq': (.text+0x1c680): undefined reference to `__tracepoint_softirq_entry' This happens because the definitions of the softirq tracepoints were moved from kernel/softirq.c to kernel/irq/handle.c. Since s390 doesn't support generic hardirqs handle.c doesn't get compiled and the definitions are missing. So move the tracepoints to softirq.c again. Reported-by: Sachin Sant Cc: Steven Rostedt Signed-off-by: Heiko Carstens --- kernel/irq/handle.c | 2 -- kernel/softirq.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-next/kernel/irq/handle.c =================================================================== --- linux-next.orig/kernel/irq/handle.c +++ linux-next/kernel/irq/handle.c @@ -18,8 +18,6 @@ #include #include #include - -#define CREATE_TRACE_POINTS #include #include "internals.h" Index: linux-next/kernel/softirq.c =================================================================== --- linux-next.orig/kernel/softirq.c +++ linux-next/kernel/softirq.c @@ -24,6 +24,8 @@ #include #include #include + +#define CREATE_TRACE_POINTS #include #include -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/