Re: sched.c: why -fno-omit-frame-pointer?

From: Ingo Molnar
Date: Thu Aug 23 2007 - 07:31:14 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Adrian Bunk <bunk@xxxxxxxxxx> writes:
> >
> > Is the -fno-omit-frame-pointer still required for some reason, or is
> > this a relict that could be removed?
>
> It's needed so that the WCHAN /proc display can backtrace one level up
> out of schedule()

it's not just one level - we'll back out until we are in scheduler
functions (up to 16 levels). So it will back out of io_schedule() and
other functions as well.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/