Function report |
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 activity | Download SCCT | Chinese |
Name:Tracepoint for task switches, performed by the scheduler:
Proto:static inline void trace_sched_switch(bool preempt, struct task_struct *prev, struct task_struct *next)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool | preempt | |
| struct task_struct * | prev | |
| struct task_struct * | next |
NULL
| Name | Describe |
|---|---|
| __schedule | __schedule() is the main scheduler function.* The main means of driving the scheduler and thus entering this function are:* 1. Explicit blocking: mutex, semaphore, waitqueue, etc.* 2. TIF_NEED_RESCHED flag is checked on interrupt and userspace return |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |