linux-mips
[Top] [All Lists]

Re: [RFC 2/2] MIPS: tracing/ftrace: Fixes mcount_regex for modules

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [RFC 2/2] MIPS: tracing/ftrace: Fixes mcount_regex for modules
From: Steven Rostedt <rostedt@goodmis.org>
Date: Fri, 22 Oct 2010 17:31:56 -0400
Cc: Wu Zhangjin <wuzhangjin@gmail.com>, linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <4CC1FDB1.8050404@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1287779153.git.wuzhangjin@gmail.com> <485f5af61fae72dc9c1f0e31b1b5f1f57a5e7ed8.1287779153.git.wuzhangjin@gmail.com> <4CC1FDB1.8050404@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 2010-10-22 at 14:10 -0700, David Daney wrote:
> On 10/22/2010 01:58 PM, Wu Zhangjin wrote:
> > From: Wu Zhangjin<wuzhangjin@gmail.com>
> >
> > In some situations(with related kernel config and gcc options), the
> > modules may have the same address space as the core kernel space, so
> > mcount_regex for modules should also match R_MIPS_26.
> >
> 
> I think Steve is rewriting this bit to be a pure C program.  Is this 
> file even used anymore?  If so for how long?

It's already in mainline, but is only supported for x86 for now. Until
we verify that it works for other archs (which is up to you guys to
verify) the script will still be used.

Also, I did not write it, John Reiser did. I just cleaned it up a bit
and got it working with the build system.

-- Steve



<Prev in Thread] Current Thread [Next in Thread>