This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Thread behaviour examination/visualization.
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Prakash R <rprakash at cdotb dot ernet dot in>
- Cc: ecos-discuss at sources dot redhat dot com, Shiv Kumar B <bshiva at cdotb dot ernet dot in>, Raja Simha R <rsimha at cdotb dot ernet dot in>, "Srinivas T.N." <seenutn at cdotb dot ernet dot in>, Biplab Chattopadhyay <biplab at cdotb dot ernet dot in>, Meghna Doshi <mdoshi at cdotb dot ernet dot in>
- Date: Wed, 30 Apr 2003 14:43:30 +0200
- Subject: Re: [ECOS] Thread behaviour examination/visualization.
- References: <3EAFC174.8000308@cdotb.ernet.in>
On Wed, Apr 30, 2003 at 05:58:36PM +0530, Prakash R wrote:
> I would like to examine the behaviour of various threads running on a
> target system over a period of time. The following are desirable:
>
> *) Thread creation/deletion.
> *) State changes in thread (Running/Ready/WaitingForEvent etc) at a
> resolution of milliseconds.
> *) ISRs' and DSRs' cpu usage.
> *) Logging of the behaviour should start and stop on a specific
> trigger.
>
> Are there any mechanism to do this? Any suggestions on how to go about
> doing this?
Take a look at kernel instrumentation. This does most of what you want
to do.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss