Function report | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-28 13:33:34 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Called from scheduler to remove the events of the current task,* with interrupts disabled
Proto:void __perf_event_task_sched_out(struct task_struct *task, struct task_struct *next)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | task | |
| struct task_struct * | next | 
| 3367 | If atomic_read( & nr_switch_events) Then perf_event_switch(task, next, false) | 
| 3370 | for_each_task_context_nr(ctxn) | 
| 3371 | perf_event_context_sched_out(task, ctxn, next) | 
| 3378 | If atomic_read(this_cpu_ptr( & perf_cgroup_events)) Then perf_cgroup_sched_out(task, next) | 
| 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  |