[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121203161346.GA29573@linux-mips.org>
Date: Mon, 3 Dec 2012 17:13:46 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: David Daney <ddaney.cavm@...il.com>,
Alan Cooper <alcooperx@...il.com>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.org
Subject: Re: MIPS Function Tracer question
On Mon, Dec 03, 2012 at 09:40:48AM -0500, Steven Rostedt wrote:
> The issue is with x86. Gcc wont compile if you have -pg and
> -fomit-frame-pointer on x86. I originally forced function tracing to
> select FRAME_POINTER, but because now on x86 with -mfentry, -pg no
> longer requires frame pointers being set, I just let -pg complain one
> way or the other. I believe that gcc by default will not add frame
> pointers. Thus adding function tracing just prevents
> -fomit-frame-pointer from being set, and if -pg requires frame pointers
> it will automatically enable them otherwise they should not be enabled.
On architectures such as MIPS where a frame pointer is not required for
debugging -O and higher imply -fomit-frame-pointer.
Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists