Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:36:04 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Various schedule()-time debugging checks and statistics:
Proto:static inline void schedule_debug(struct task_struct *prev, bool preempt)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | prev | |
| bool | preempt |
| 3900 | rcu_sleep_check() |
| 3904 | schedstat_inc(sched_count) |
| 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 |