per-thread stats

Jan 28, 2008 2 Replies

Hi,



I am debugging performance issue of an embedded software system running on linux.



I would like to know how much time each thread spends in each of its states - running, blocked ( on i/o, mutex ... ) , pre-empted etc.



How can I get this information ? I am reading now about /proc data. Will /proc help ?



thanks a lot shankar


Could someone please reply asap ??

thanks

re

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required