From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederic Weisbecker Subject: Re: [PATCH] perf: Also export the weak version of perf_arch_fetch_caller_regs Date: Sun, 14 Mar 2010 10:23:44 +0100 Message-ID: <20100314092341.GA5158@nowhere> References: <20100312150003.afd9b59a.sfr@canb.auug.org.au> <20100312055043.GB5014@nowhere> <20100312172043.aa034ede.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-bw0-f209.google.com ([209.85.218.209]:32774 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756216Ab0CNJXn (ORCPT ); Sun, 14 Mar 2010 05:23:43 -0400 Content-Disposition: inline In-Reply-To: <20100312172043.aa034ede.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, Mar 12, 2010 at 05:20:43PM +1100, Stephen Rothwell wrote: > Hi Frederic, > > On Fri, 12 Mar 2010 06:50:44 +0100 Frederic Weisbecker wrote: > > > > Does that fixes the issue? Sorry I can not test for now... > > I can't test it right now, sorry, but I have heard that EXPORT_SYMBOL's > for weak symbols must be in a different file from the actual symbol > definition. Hmm. Ok, kernel/trace/trace_event_perf.c must be the right place then, as the only users of this helper are trace events. Will send a fix once I get this tested, thanks for the pointer!