Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\trace\events\sched.h Create Date:2022-07-28 08:57:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.* It it not always called from the waking context.

Proto:static inline void trace_sched_wakeup(struct task_struct *p)

Type:void

Parameter:

TypeParameterName
struct task_struct *p

NULL

Caller
NameDescribe
ttwu_do_wakeupMark the task runnable and perform wakeup-preemption.
try_to_wake_upry_to_wake_up - wake up a thread*@p: the thread to be awakened*@state: the mask of task states that can be woken*@wake_flags: wake modifier flags (WF_*)* If (@state & @p->state) @p->state = TASK_RUNNING.