Re: How to hook a context switch??
From: Gromer (osIndgy_at_gmail.com)
Date: 10/23/05
- Next message: Brendan: "Re: How to hook a context switch??"
- Previous message: Gromer: "Re: How to hook a context switch??"
- In reply to: Gromer: "Re: How to hook a context switch??"
- Next in thread: Brendan: "Re: How to hook a context switch??"
- Reply: Brendan: "Re: How to hook a context switch??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Oct 2005 00:27:59 -0700
Hi,
Since i have'nt got any response for linux groups.. i'm posting it in
this group.. Hopefully someone in this group can throw some light :)
Gromer wrote:
> Gromer wrote:
>
> > Hi,
> >
> > I have one issue and would like to get some expert advise from the
> > group. The below shown code snippet gives some idea about the scenario.
> > I have basically one function (func_1) which does a wake_up after
> > processing some information. Once the wake_up is executed the system
> > crashes.
> >
> > So to debug this, i've put printks after the add_wait_queue() and
> > schedule function to capture the functions that gets executed with a
> > wake_up... but for no help.. Im unable to find the thread which gets
> > executed after the wake_up.
> >
> > I'm wondering how to capture or debug which thread/function gets the
> > CPU when this wake_up has been executed... Any pointer would be highly
> > appreciable.
> >
> > How is such a situation usually debugged?? Can such a context switching
> > be hooked..
> >
>
> > Thanks in Advance,
> > Gromer
>
> To add to this... I'm using linux 2.4.20 kernel.... It would
> appreciable if someone could help me in debugging this problem.
>
> Thanks in Advance,
> Gromer
- Next message: Brendan: "Re: How to hook a context switch??"
- Previous message: Gromer: "Re: How to hook a context switch??"
- In reply to: Gromer: "Re: How to hook a context switch??"
- Next in thread: Brendan: "Re: How to hook a context switch??"
- Reply: Brendan: "Re: How to hook a context switch??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|