linux-mips
[Top] [All Lists]

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

To: Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [RFC 2/2] MIPS: tracing/ftrace: Fixes mcount_regex for modules
From: wu zhangjin <wuzhangjin@gmail.com>
Date: Sat, 23 Oct 2010 14:03:51 +0800
Cc: David Daney <ddaney@caviumnetworks.com>, linux-mips@linux-mips.org, ralf@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DV7Fk1KnoQRrUCAF3BoeLloPAgXdbvpHA8Z2kfvnf5M=; b=MHXAGMbOUAXXF+qqEYsm6V4ZdP5v80g89dPkqZpLNMs3+sxhLq3AZlbfvObrCFXDfx Zbci4D+vP8h6O6qg67c7zUIPcqDJAMzTXgiY7R7Sg6p6R6K5RinSn7XXyKJtUsc5hB6L PGzUApbSuZ3O0HvHYrGJzv/e+LnKXURED3f98=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=q/E+kbuskX1qbTGiaoBrcwUp3i7jrKYmi3H3u90OdCo2N7uM3rKVEBaBLubD6g0kSq 6t0UJTHDhFor+yFeLETLGM+fwvii62P6JAu6c5ei88oV+POtHhnGE7E1TkcitTFoLg4T NcH/xnz0y0yYlPEuYjPP1t8sQNQ5OlJ65Ck6A=
In-reply-to: <1287783116.16971.642.camel@gandalf.stny.rr.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> <1287783116.16971.642.camel@gandalf.stny.rr.com>
Sender: linux-mips-bounce@linux-mips.org
On Sat, Oct 23, 2010 at 5:31 AM, Steven Rostedt <rostedt@goodmis.org> wrote:
> 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.

Good reminder, thanks ;-)

Just found "[GIT PULL][2.6.37] ftrace: C version of recordmcount".

>>  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.
>

I will verify it asap.

Thanks & Regards,
Wu Zhangjin

> 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>