Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:58:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:racing_record_taskinfo_sched_switch - record task info for sched_switch*@prev: previous task during sched_switch*@next: next task during sched_switch*@flags: TRACE_RECORD_CMDLINE for recording comm* TRACE_RECORD_TGID for recording tgid
Proto:void tracing_record_taskinfo_sched_switch(struct task_struct *prev, struct task_struct *next, int flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | prev | |
struct task_struct * | next | |
int | flags |
2381 | If tracing_record_taskinfo_skip(flags) Then Return |
2388 | done = Not (flags & TRACE_RECORD_CMDLINE) || trace_save_cmdline(prev) |
2389 | done &= Not (flags & TRACE_RECORD_CMDLINE) || trace_save_cmdline(next) |
2390 | done &= Not (flags & TRACE_RECORD_TGID) || trace_save_tgid(prev) |
2391 | done &= Not (flags & TRACE_RECORD_TGID) || trace_save_tgid(next) |
2394 | If Not done Then Return |
2397 | __this_cpu_write(To prevent the comm cache from being overwritten when no* tracing is active, only save the comm when a trace event* occurred., false) |
Name | Describe |
---|---|
probe_sched_switch |
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 |