GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at gmail.com
Tue Jul 23 04:35:31 UTC 2019


>
> You have to maintain this information per CPU.
>
Have made changes.

https://github.com/rmeena840/rtems-tools/commit/b70b1f820241ab97828c29a23982a4b34b95fe03

https://github.com/rmeena840/rtems-tools/commit/0becdc4025583d255f9ef976cfde275a86601d11

I have set state value to 0 as of now. I will raise a query for the same on
lttng.

Have a look.

Babeltrace output looks like this:

babeltrace . | head

[19:16:31.180096211] (+?.?????????) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "7392", prev_tid = 7392, prev_prio = 0, prev_state = 0,
next_comm = "167837739", next_tid = 167837739, next_prio = 0 }
[19:16:31.180116542] (+0.000020331) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "167837739", prev_tid = 167837739, prev_prio = 0,
prev_state = 0, next_comm = "5856", next_tid = 5856, next_prio = 0 }
[19:16:31.180116542] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "151060500", prev_tid = 151060500, prev_prio = 0,
prev_state = 0, next_comm = "151060500", next_tid = 151060500, next_prio =
0 }
[19:16:31.180154588] (+0.000038046) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "7392", prev_tid = 7392, prev_prio = 0, prev_state = 0,
next_comm = "167837739", next_tid = 167837739, next_prio = 0 }
[19:16:31.180174232] (+0.000019644) Record_Item sched_switch: { cpu_id = 5
}, { prev_comm = "151060500", prev_tid = 151060500, prev_prio = 0,
prev_state = 0, next_comm = "6592", next_tid = 6592, next_prio = 0 }
[19:16:31.180174232] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "167837739", prev_tid = 167837739, prev_prio = 0,
prev_state = 0, next_comm = "5856", next_tid = 5856, next_prio = 0 }
[19:16:31.180208594] (+0.000034362) Record_Item sched_switch: { cpu_id = 5
}, { prev_comm = "151060501", prev_tid = 151060501, prev_prio = 0,
prev_state = 0, next_comm = "151060501", next_tid = 151060501, next_prio =
0 }
[19:16:31.180223920] (+0.000015326) Record_Item sched_switch: { cpu_id = 5
}, { prev_comm = "7392", prev_tid = 7392, prev_prio = 0, prev_state = 0,
next_comm = "167837739", next_tid = 167837739, next_prio = 0 }
[19:16:31.180241405] (+0.000017485) Record_Item sched_switch: { cpu_id = 5
}, { prev_comm = "167837739", prev_tid = 167837739, prev_prio = 0,
prev_state = 0, next_comm = "5856", next_tid = 5856, next_prio = 0 }
[19:16:31.180241405] (+0.000000000) Record_Item sched_switch: { cpu_id = 5
}, { prev_comm = "151060501", prev_tid = 151060501, prev_prio = 0,
prev_state = 0, next_comm = "151060501", next_tid = 151060501, next_prio =
0 }

-- 
*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/20190723/8cacf7b2/attachment-0002.html>


More information about the devel mailing list