函数逻辑报告 |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-27 13:27:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ftrace_event_pid_write
函数原型:static ssize_t ftrace_event_pid_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
const char __user * | ubuf | |
size_t | cnt | |
loff_t * | ppos |
1607 | struct trace_pid_list * filtered_pids = NULL |
1612 | 如果非cnt则返回:0 |
1615 | ret等于racing_update_buffers - used by tracing facility to expand ring buffers* To save on memory when the tracing is never used on a system with it* configured in |
1619 | mutex_lock( & event_mutex) |
1624 | ret等于trace_pid_write(filtered_pids, & pid_list, ubuf, cnt) |
1631 | 设置内存位 |
1634 | 如果filtered_pids则 |
1637 | 否则如果pid_list则 |
1670 | on_each_cpu(ignore_task_cpu, tr, 1) |
1672 | out : |
1678 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |