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:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Tracepoint for task switches, performed by the scheduler:

Proto:static inline int register_trace_sched_switch(void (*probe)(void *__data, bool preempt, struct task_struct *prev, struct task_struct *next), void *data)

Type:int

Parameter:

TypeParameterName
void (*probe
void *data
184  Return -ENOSYS
Caller
NameDescribe
tracing_sched_register
start_wakeup_tracer
start_graph_tracingAllocate a return stack for each task
ftrace_pid_write