Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
is there any tool can show the thread/process schedule information? i would like to know when the thread/process wakeup, and when it was suspend? it includes kernel and user space. With this information, i can know the thread/process task schedule, and calculate the MIPs.
Another, do you know whether LTT support User space thread trace?
William, if you are using user level threads, gprof may be of use to you. It is not my impression that LTT supports user-level thread tracing, but I have not used it, personally.
Hi Jhwilliams,
Thanks your help. I check the gprof, seems it didn't meet my expectation. I'm not sure whether my understand is correct or not. i guess that gprof will profile how many times the function was executed, and how many percentage it used during the profile period. But i would like to have one tool can show the task schedule information during past time, such as 10 seconds. e.g, i would like to know which process/thread is runing from 0~10ms, which process/thread is running from 10~20ms, which process/thread is runing from 20~30ms, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.