<div dir="ltr">Hello,<br><div><br></div><div>Using babeltrace I created a text trace. </div><div>How can I understand it ?</div><div><br></div><div>For example: </div><div>I logged userspace events. One of my threads is called: RSPOn3</div><div>I can see the following lines:</div><div><br></div><div>sched_switch: { cpu_id = 0 }, { prev_comm = "RSPOn3", prev_tid = 27307, prev_prio = -58, prev_state = 1, next_comm = "swapper/0", next_tid = 0, next_prio = 20 }<br></div><div><br></div><div>sched_wakeup: { cpu_id = 0 }, { comm = "RSPOn3", tid = 27307, prio = -58, success = 1, target_cpu = 0 }<br></div><div><br></div><div>sched_switch: { cpu_id = 0 }, { prev_comm = "swapper/0", prev_tid = 0, prev_prio = 20, prev_state = 0, next_comm = "RSPOn3", next_tid = 27307, next_prio = -58 }<br></div><div><br></div><div>sched_switch: { cpu_id = 0 }, { prev_comm = "RSPOn3", prev_tid = 27307, prev_prio = -58, prev_state = 1, next_comm = "swapper/0", next_tid = 0, next_prio = 20 }<br></div><div><br></div><div>How can I know the meaning of each field in each line ?</div><div>1. sched_switch, sched_wakeup</div><div>2. prev_comm</div><div>3. prev_state</div><div>4. next_comm</div><div><br></div><div>If a task is blocked (e.g waiting for TCP) and then runs for some time and then waits again, how this will be logged ?</div><div><br></div><div>Curently I need help only on userspace events. </div><div><br></div><div>Thank you,</div><div>Zvika </div><div><br></div><div><br></div></div>