On Sat, 9 Aug 2008, Andi Kleen wrote:
quoted text > > Funny, CONFIG_FTRACE happens to select that. Now the question is, would
> > mcount work without it?
>
> Not without fixing gcc first. It would work if gcc always called
> mcount the first thing before setting up the stack frame. Not
> sure why it doesn't do that.
I could take out the frame pointer option and pass in zero for the parent
in such that case. But the parent is quite useful. But if it helps
with performance, it may be worth doing this.
-- Steve
quoted text >
> Still do a benchmark of frame pointer vs no frame pointer kernel
> and you'll see, especially on a older CPUs without special hardware
> to avoid stack stalls (e.g. not Core2)
I'll see what it does with just a kernel build.
-- Steve
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH 0/5] ftrace: to kill a daemon , Steven Rostedt , (Fri Aug 8, 7:03 pm)