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