GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at
Wed Jul 31 06:30:04 UTC 2019

> > The bit field is documented in the manual. I would simplify this to:
> >
> > cctx->switch_out_int[ item->cpu ].prev_state = ( ( ( item->data >> 24 )
> > & 0x7 ) == 1 ) ? TASK_IDLE : TASK_RUNNING;
> Did you check how the Trace Compass behaviour changed with this?
Yes. I imported the trace on Trace Compass. The CPU 5 Threads and CPU 5
States lines are straight in the beginning because there is no change in
the cpu_id. At the end of the trace, there is a lot of change in cpu_id due
to which Trace Compass shows other CPU thread and state lines.

I have attached the screenshot of trace compass. Have a look.

I have simplified the prev_state:

Removed the enum from metadata:

*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2019-07-31 11-58-39.png
Type: image/png
Size: 142250 bytes
Desc: not available
URL: <>

More information about the devel mailing list