函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:04:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void tracing_record_taskinfo(struct task_struct *task, int flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
int | flags |
2351 | 如果tracing_record_taskinfo_skip(flags)则返回 |
2358 | done等于非flags按位与TRACE_RECORD_CMDLINE的值或trace_save_cmdline(task) |
2359 | done与等于非flags按位与TRACE_RECORD_TGID的值或trace_save_tgid(task) |
2362 | 如果非done则返回 |
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) |
名称 | 描述 |
---|---|
tracing_record_cmdline | Helpers to record a specific task information |
tracing_record_tgid | |
probe_sched_wakeup |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |