[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080111220142.GA6751@mit.edu>
Date: Fri, 11 Jan 2008 17:01:43 -0500
From: Theodore Tso <tytso@....EDU>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Arjan van de Ven <arjan@...radead.org>,
linux-kernel@...r.kernel.org, mingo@...e.hu,
akpm@...ux-foundation.org
Subject: Re: Make the 32 bit Frame Pointer backtracer fall back to
traditional
On Fri, Jan 11, 2008 at 11:41:40AM -0800, Linus Torvalds wrote:
>
> (I also wonder if we should limit the number of entries we print out.
> Sometimes the stack frame ends up being so deep that we lose the
> *important* stuff. I think it might be good idea to have some rule like
> "the first 5 entries go to the screen, the rest will be KERN_DEBUG and
> only go to the logs by default" - so a "dmesg" would show it all, but if
> the machine is hung, the screen won't have been scrolled away from all
> the other things by a long backtrace!)
What might be useful is the first 5 and last 5. Sometimes if you have
a very deep call chain, the what was the original system call or
interrupt which got the kernel deep into la-la land can often be
useful. Just a thought.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists