Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:58:44 |
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 - record the task info of a task*@task: task to record*@flags: TRACE_RECORD_CMDLINE for recording comm* TRACE_RECORD_TGID for recording tgid
Proto:void tracing_record_taskinfo(struct task_struct *task, int flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task | |
int | flags |
2351 | If tracing_record_taskinfo_skip(flags) Then Return |
2358 | done = Not (flags & TRACE_RECORD_CMDLINE) || trace_save_cmdline(task) |
2359 | done &= Not (flags & TRACE_RECORD_TGID) || trace_save_tgid(task) |
2362 | If Not done Then Return |
2365 | __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 |
---|---|
tracing_record_cmdline | Helpers to record a specific task information |
tracing_record_tgid | |
probe_sched_wakeup |
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 |