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: H. Peter Anvin
Date: Tuesday, November 24, 2009 - 9:38 am

On 11/24/2009 07:46 AM, Andrew Haley wrote:

If we're changing gcc anyway, then let's add the option of intercepting
the function at the point where the machine state is well-defined by
ABI, which is before the function stack frame is set up.

-maccumulate-outgoing-args sounds like it would be painful on x86 (not
using its cheap push/pop instructions), but I guess since it's only when
tracing it's less of an issue.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
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 ..., H. Peter Anvin, (Tue Nov 24, 9:38 am)