Re: Kernel backtrace possiblities
- From: "dspfun" <dspfun@xxxxxxxxxxx>
- Date: 31 Mar 2007 08:50:09 -0700
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?
In "traps.c" the show_trace_task function which I'm using looks like
this:
void show_trace_task(struct task_struct *tsk) {
if (tsk != current) {
unsigned int fp = tsk->thread.save->fp;
c_backtrace(fp, 0x10);
}
}
The problem is that it does not print the backtrace of "current"
function. Any ideas on how to print the backtrace of the current
thread?
.
- References:
- Kernel backtrace possiblities
- From: dspfun
- Re: Kernel backtrace possiblities
- From: Bin Chen
- Re: Kernel backtrace possiblities
- From: dspfun
- Kernel backtrace possiblities
- Prev by Date: Re: Windows to Linux migration - be or not to be
- Previous by thread: Re: Kernel backtrace possiblities
- Index(es):