GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at gmail.com
Sat Aug 3 16:06:56 UTC 2019


>
> Yes, prev_state is the state of the previous thread. See my other email
> which mentions the swapper. In the Trace Compass code you see that a tid ==
> 0 is used to detect an idle CPU.
>
> We have to set prev_tid to 0 if the previous thread is an idle thread,
> likewise for next_tid if the next thread is an idle thread.
>
Okay. I have added the idle thread condition in next_tid.
https://github.com/rmeena840/rtems-tools/commit/4e767dd71a7dc402edf7ac5e1ed78cdb49e09607

Have a look.


-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190803/5af5807e/attachment-0002.html>


More information about the devel mailing list