函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Tracepoint for waking up a new task:

函数原型:static inline long __trace_sched_switch_state(bool preempt, struct task_struct *p)

返回类型:long

参数:

类型参数名称
boolpreempt
struct task_struct *p
120  如果preempt则返回:TASK_REPORT_MAX
129  state等于task_state_index(p)
131  返回:如果state则1左移state减1位否则state