[OpenAFS-devel] fwd> Stack Backtracing Inside Your Program

Derrick J Brashear shadow@dementia.org
Tue, 12 Aug 2003 14:15:49 -0400 (EDT)


On Tue, 12 Aug 2003, Nathan Neulinger wrote:

> This might be a worthwhile feature to add to the osi_Panic stuff... It
> would be for glibc only, but that would still be useful for a wide
> audience.
>
> <http://www.linuxjournal.com/article.php?sid=6391>

glibc has nothing to do with the kernel, so what does it buy you?

there are already backtrace functions we could use in the kernel, but you
need --enable-debug-kernel at configure time to turn on the right gcc
options before the trace is meaningful anyhow.