Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:probe_sched_switch

Proto:static void probe_sched_switch(void *ignore, bool preempt, struct task_struct *prev, struct task_struct *next)

Type:void

Parameter:

TypeParameterName
void *ignore
boolpreempt
struct task_struct *prev
struct task_struct *next
29  flags = RECORD_TGID * Not Not sched_tgid_ref + RECORD_CMDLINE * Not Not sched_cmdline_ref
32  If Not flags Then Return
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