GSoC Project | Basic Support for Trace Compass
Ravindra Kumar Meena
rmeena840 at gmail.com
Wed Jul 24 12:07:12 UTC 2019
>
> You received RTEMS_RECORD_THREAD_SWITCH_OUT two record events before the
> RTEMS_RECORD_THREAD_SWITCH_IN with the same timestamp. See my comment
> above. In these two record events all you need for the sched_switch
> event is contained.
>
Have made changes:
https://github.com/rmeena840/rtems-tools/commit/880eb38c41f66e5ca08429f9ed52a209feed123e
Have a look.
Babeltrace output:
babeltrace . | head
[19:16:31.180116542] (+?.?????????) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "0a01002b", prev_tid = 167837739, prev_prio = 0,
prev_state = 0, next_comm = "000016e0", next_tid = 5856, next_prio = 0 }
[19:16:31.180116542] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "000016e0", prev_tid = 5856, prev_prio = 0, prev_state =
0, next_comm = "09010014", next_tid = 151060500, next_prio = 0 }
[19:16:31.180116542] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "09010014", prev_tid = 151060500, prev_prio = 0,
prev_state = 0, next_comm = "0a01002b", next_tid = 167837739, next_prio = 0
}
[19:16:31.180154588] (+0.000038046) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "09010014", prev_tid = 151060500, prev_prio = 0,
prev_state = 0, next_comm = "00001ce0", next_tid = 7392, next_prio = 0 }
[19:16:31.180154588] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "00001ce0", prev_tid = 7392, prev_prio = 0, prev_state =
0, next_comm = "0a01002b", next_tid = 167837739, next_prio = 0 }
[19:16:31.180154588] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "0a01002b", prev_tid = 167837739, prev_prio = 0,
prev_state = 0, next_comm = "09010014", next_tid = 151060500, next_prio = 0
}
[19:16:31.180174232] (+0.000019644) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "0a01002b", prev_tid = 167837739, prev_prio = 0,
prev_state = 0, next_comm = "000016e0", next_tid = 5856, next_prio = 0 }
[19:16:31.180174232] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "000016e0", prev_tid = 5856, prev_prio = 0, prev_state =
0, next_comm = "09010014", next_tid = 151060500, next_prio = 0 }
[19:16:31.180174232] (+0.000000000) Record_Item sched_switch: { cpu_id = 17
}, { prev_comm = "09010014", prev_tid = 151060500, prev_prio = 0,
prev_state = 0, next_comm = "0a01002b", next_tid = 167837739, next_prio = 0
}
[19:16:31.180223920] (+0.000049688) Record_Item sched_switch: { cpu_id = 5
}, { prev_comm = "09010015", prev_tid = 151060501, prev_prio = 0,
prev_state = 0, next_comm = "00001ce0", next_tid = 7392, next_prio = 0 }
Now the prev_* and next_* values are not equal.
--
*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/20190724/106ad12d/attachment-0002.html>
More information about the devel
mailing list