[Top] [All Lists]

Re: preempt_schedule_irq missing from mfinfo[]?

To: "Maciej W. Rozycki" <>
Subject: Re: preempt_schedule_irq missing from mfinfo[]?
From: Ralf Baechle <>
Date: Wed, 6 Jul 2005 10:14:23 +0100
Cc: Atsushi Nemoto <>,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <>
User-agent: Mutt/
On Wed, Jul 06, 2005 at 09:58:50AM +0100, Maciej W. Rozycki wrote:

> > Yes, but many sleeping/scheduling (such as schedule_timeout(),
> > __down(), etc.)  are compiled without -fno-omit-frame-pointer, so
> > you can not find the caller of such functions anyway.
>  Of course you can -- __builtin_return_address().  It should be enough for 
> `ps' to fetch useful data from "", shouldn't it?

__builtin_return_address() is what those function could use themselves.
In this case it's about another piece of code unwinding the stackframe
until we hit a caller address that is not a scheduling function.


<Prev in Thread] Current Thread [Next in Thread>