函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_sched_switch.c Create Date:2022-07-27 13:15:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:probe_sched_switch

函数原型:static void probe_sched_switch(void *ignore, bool preempt, struct task_struct *prev, struct task_struct *next)

返回类型:void

参数:

类型参数名称
void *ignore
boolpreempt
struct task_struct *prev
struct task_struct *next
29  flags等于RECORD_TGID乘非非sched_tgid_refRECORD_CMDLINE乘非非sched_cmdline_ref
32  如果非flags则返回
34  racing_record_taskinfo_sched_switch - record task info for sched_switch*@prev: previous task during sched_switch*@next: next task during sched_switch*@flags: TRACE_RECORD_CMDLINE for recording comm* TRACE_RECORD_TGID for recording tgid