Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:46 |
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 add the events of the current task* with interrupts disabled.* We restore the event value and then enable it.* This does not protect us against NMI, but enable()* sets the enabled bit in the control field of event _before_
Proto:void __perf_event_task_sched_in(struct task_struct *prev, struct task_struct *task)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | prev | |
struct task_struct * | task |
3617 | If atomic_read(this_cpu_ptr( & perf_cgroup_events)) Then perf_cgroup_sched_in(prev, task) |
3621 | ctx = perf_event_ctxp[ctxn] |
3622 | If Value is more likely to compile time(!ctx) Then Continue |
3625 | perf_event_context_sched_in(ctx, task) |
3628 | If atomic_read( & nr_switch_events) Then perf_event_switch(task, prev, true) |
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 |