Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to detect GCC messing with mcount prologue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Tuesday, November 24, 2009 - 10:30 am

On Tue, 2009-11-24 at 17:12 +0000, Andrew Haley wrote:


Earlier in the GCC BUG thread we talked about this. Adding a __fentry__
call at the beginning of the function. This could be done for other
archs as well, but yes, the return address must be stored. For x86 it is
the easiest because it automatically stores the return address on the
stack (Andi already has a working patch I believe).

For other archs, Linus showed some examples:

http://lkml.org/lkml/2009/11/19/349

-- Steve


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[tip:timers/urgent] hrtimer: Fix /proc/timer_list regression, tip-bot for Feng Tang, (Wed Nov 18, 1:24 pm)
BUG: function graph tracer function frame assumptions, Thomas Gleixner, (Thu Nov 19, 7:30 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ..., Frederic Weisbecker, (Thu Nov 19, 9:19 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ..., Richard Guenther, (Thu Nov 19, 11:03 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ..., Frederic Weisbecker, (Thu Nov 19, 12:46 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ..., Frederic Weisbecker, (Thu Nov 19, 1:05 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ..., Frederic Weisbecker, (Thu Nov 19, 1:25 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ..., Frederic Weisbecker, (Thu Nov 19, 1:28 pm)
[tip:timers/urgent] hrtimer: Fix /proc/timer_list regression, tip-bot for Feng Tang, (Fri Nov 20, 3:30 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ..., Steven Rostedt, (Tue Nov 24, 10:30 am)