Function report |
Source Code:kernel\trace\trace_sched_switch.c |
Create Date:2022-07-28 12:08:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tracing_start_sched_switch
Proto:static void tracing_start_sched_switch(int ops)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | ops |
94 | mutex_lock( & sched_register_mutex) |
95 | sched_register = Not sched_cmdline_ref && Not sched_tgid_ref |
98 | Case ops == RECORD_CMDLINE |
99 | sched_cmdline_ref++ |
100 | Break |
102 | Case ops == RECORD_TGID |
103 | sched_tgid_ref++ |
104 | Break |
107 | If sched_register && (sched_cmdline_ref || sched_tgid_ref) Then tracing_sched_register() |
Name | Describe |
---|---|
tracing_start_cmdline_record | |
tracing_start_tgid_record |
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 |