函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:07:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:tracing_open_pipe
函数原型:static int tracing_open_pipe(struct inode *inode, struct file *filp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct file * | filp |
5951 | ret等于tracing_check_open_get_tr(tr) |
5959 | 如果非iter则 |
5966 | trace等于current_trace |
5968 | 如果非分配CPU掩码则 |
5974 | 设置全部CPU信息 |
5984 | trace_buffer等于trace_buffer |
5985 | cpu_file等于Should be used after trace_array_get(), trace_types_lock* ensures that i_cdev was already initialized. |
5986 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & mutex) |
5992 | nonseekable_open(inode, filp) |
5994 | ref自加 |
5995 | out : |
5997 | 返回:ret |
5999 | fail : |
6001 | __trace_array_put(tr) |
6003 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |