Re: Kernel backtrace possiblities
- From: "dspfun" <dspfun@xxxxxxxxxxx>
- Date: 31 Mar 2007 04:06:09 -0700
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.
Thanks! Its for the kernel part I want a backtrace. I have used the
show_trace_task(struct task_struct* tsk) function successfully but it
shows backtrace for all threads except the current thread. Do you know
how I can backtrace the "current" thread?
BRs,
Markus
.
- Follow-Ups:
- Re: Kernel backtrace possiblities
- From: dspfun
- Re: Kernel backtrace possiblities
- References:
- Kernel backtrace possiblities
- From: dspfun
- Re: Kernel backtrace possiblities
- From: Bin Chen
- Kernel backtrace possiblities
- Prev by Date: Re: Questions about page table implementation
- Next by Date: Re: Windows to Linux migration - be or not to be
- Previous by thread: Re: Kernel backtrace possiblities
- Next by thread: Re: Kernel backtrace possiblities
- Index(es):
Relevant Pages
|