linux-mips
[Top] [All Lists]

Re: [PATCH] mips/ftrace: Fix function tracing return address to match

To: Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [PATCH] mips/ftrace: Fix function tracing return address to match
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 18 Jul 2013 13:37:34 -0700
Cc: David Daney <ddaney.cavm@gmail.com>, <linux-mips@linux-mips.org>, <ralf@linux-mips.org>, Corey Minyard <cminyard@mvista.com>, David Daney <david.daney@cavium.com>
In-reply-to: <1374179160.6458.269.camel@gandalf.local.home>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1373926637-24627-1-git-send-email-ddaney.cavm@gmail.com> <1374178262.6458.266.camel@gandalf.local.home> <51E84CBC.80206@gmail.com> <1374179160.6458.269.camel@gandalf.local.home>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6
On 07/18/2013 01:26 PM, Steven Rostedt wrote:
On Thu, 2013-07-18 at 13:14 -0700, David Daney wrote:

There is an mcount ABI difference based on which GCC version you are
using, although I wouldn't think it would effect this bit.

We are using GCC-4.7 FWIW.

David Daney

I'm using 4.6.3 which I downloaded from
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/

I would expect that version to be fine too. The option in question is -mmcount-ra-address, which I added to GCC-4.5


I can down load the 4.7 version and see if that makes a difference.

-- Steve





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