函数逻辑报告 |
Source Code:kernel\gcov\fs.c |
Create Date:2022-07-27 12:34:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pen() implementation for gcov data files. Create a copy of the profiling* data set and initialize the iterator and seq_file interface.
函数原型:static int gcov_seq_open(struct inode *inode, struct file *file)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct file * | file |
186 | mutex_lock( & node_lock) |
192 | info等于Return a newly allocated profiling data set which contains the sum of* all profiling data associated with the given node. |
193 | 如果非info则转到:out_unlock |
195 | iter等于gcov_iter_new(info) |
196 | 如果非iter则转到:err_free_info |
198 | rc等于seq_open(file, & gcov_seq_ops) |
199 | 如果rc则转到:err_free_iter_info |
203 | out_unlock : |
205 | 返回:rc |
207 | err_free_iter_info : |
208 | gcov_iter_free(iter) |
209 | err_free_info : |
210 | gcov_info_free(info) |
211 | 转到:out_unlock |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |