-
Notifications
You must be signed in to change notification settings - Fork 90
TechDocs Linux Scheduler
Michael Sartain edited this page Sep 12, 2017
·
1 revision
sched_switch (scheduler context-switch)
prev_comm: thread_1
prev_pid: 1154
prev_state: TASK_RUNNING, TASK_INTERRUPTABLE, TASK_UNINTERRUPTIBLE, TASK_DEAD, etc.
next_comm: swapper/2
next_pid: 0
sched_wakeup / sched_wakeup_new (tracepoint called when task is actually woken)
pid: 1144
success: 1
target_cpu: 4
sched_migrate_task (task migrated to new cpu)
com: rcu_sched
pid: 8
orig_cpu: 1
dest_cpu: 4
sched_process_exec (exec)
filename: /home/mikesart/dev/amdgpu/pthreads
pid: 1152
old_pid: 1152
sched_process_fork (do_fork)
parent_comm: thread_main
parent_pid: 1152
child_comm: thread_main
child_pid: 1154
sched_process_exit (task exiting)
Comm: thread_1-1154
comm: thread_1
pid: 1154
sched_wait_task (waiting on task to unschedule)
sched_process_wait (waiting task)