Community
Participate
Working Groups
Created attachment 275746 [details] trace-compass-snapshot We've developed at tool that captures a trace from a card running VxWorks, and translated the system events into commands that would be understood by TraceCompass (in CTF format). For the most part everything is working. However, we occasionally run into issues where a task is scheduled out, but the green bar in the control flow stays green (whereas it should be waiting for the CPU - orange). In this case, the resource window does show that the task (tAtrcS) has been swapped out and that only the new task (L3PP) is running.
In the screenshot, the event table shows that for this sched_switch, prev_tid=0. Shouldn't it be prev_tid=785059840 (tAtrcS)? A tid of 0 is interpreted as the swapper process. This might be the reason why the tAtrcS state is not being changed.
Hi Jason, I am looking at your pic, your TIDs are enormous. maybe we are experiencing a wrap-around. I think our max size is 16 bits, I need to confirm. Any way you can send an anonymized trace?
I think Patrick hit it on the head though, your prev_tid field needed to be 785059840.