函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\trace\events\sched.h Create Date:2022-07-27 09:56:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static inline void trace_sched_wakeup(struct task_struct *p)

返回类型:void

参数:

类型参数名称
struct task_struct *p

NULL

调用者
名称描述
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.