Re: Kernel backtrace possiblities
- From: "Bin Chen" <binary.chen@xxxxxxxxx>
- Date: 31 Mar 2007 00:27:35 -0700
On Mar 31, 1:25 pm, "dspfun" <dsp...@xxxxxxxxxxx> wrote:
Hi!
Does anyone know of some good ways (or any ways) to get kernel
backtraces from a linux kernel?
I have tried using/calling the function show_trace_task() and it seem
to work on all threads except the "current" thread which is the thread
I'm interested in.
I'm using 2.4.18 kernel.
You want a trace on the kernel part or user part? For kernel part, the
back trace you can find in
arch/i386/kernel/traps.c, but for user space part, a glibc API
backtrace() is provided, but not very powerful, the gdb can help do
the backtrace much better.
.
- Follow-Ups:
- Re: Kernel backtrace possiblities
- From: dspfun
- Re: Kernel backtrace possiblities
- References:
- Kernel backtrace possiblities
- From: dspfun
- Kernel backtrace possiblities
- Prev by Date: Kernel backtrace possiblities
- Next by Date: Re: Questions about page table implementation
- Previous by thread: Kernel backtrace possiblities
- Next by thread: Re: Kernel backtrace possiblities
- Index(es):
Relevant Pages
|