[Top] [All Lists]

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

To: Steven Rostedt <>
Subject: Re: [RFC 2/2] MIPS: tracing/ftrace: Fixes mcount_regex for modules
From: wu zhangjin <>
Date: Sat, 23 Oct 2010 14:03:51 +0800
Cc: David Daney <>,,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
Original-recipient: rfc822;
References: <> <> <> <>
On Sat, Oct 23, 2010 at 5:31 AM, Steven Rostedt <> 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<>
>> >
>> > 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>