Hello,

Using babeltrace I created a text trace.
How can I understand it ?

For example:
I logged userspace events. One of my threads is called: RSPOn3
I can see the following lines:

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 }

sched_wakeup: { cpu_id = 0 }, { comm = "RSPOn3", tid = 27307, prio = -58,
success = 1, target_cpu = 0 }

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 }

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 }

How can I know the meaning of each field in each line ?
1. sched_switch, sched_wakeup
2. prev_comm
3. prev_state
4. next_comm

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 ?

Curently I need help only on userspace events.

Thank you,
Zvika
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to